1
0
Fork 0
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:
Patrizio Bekerle 2017-09-18 12:11:17 +02:00
parent eae149ce68
commit 9aab38c19a
No known key found for this signature in database
GPG key ID: 2E9FFD770DABE838
2 changed files with 2 additions and 2 deletions

View file

@ -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);