mirror of
https://github.com/marty-oehme/scripts.git
synced 2025-12-16 00:12:44 +00:00
added a name replacement
This commit is contained in:
parent
eae149ce68
commit
9aab38c19a
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ QtObject {
|
|||
var result = script.startSynchronousProcess(nodejsExecutablePath, params, text);
|
||||
|
||||
// replace some names
|
||||
result = String(result).replace(/\@Georg/ig, "[~g.franz]").replace(/\@Jacob/ig, "[~j.ester]").replace(/\@Gandalf/ig, "[~g.sievers]");
|
||||
result = String(result).replace(/\@Georg/ig, "[~g.franz]").replace(/\@Jacob/ig, "[~j.ester]").replace(/\@Gandalf/ig, "[~g.sievers]").replace(/\@Dominik/ig, "[~d.jansen]");
|
||||
|
||||
// put the result into the clipboard
|
||||
script.setClipboardText(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue