🧡 Skip to main content🔍 Skip to search
Execute Script & JScript

Automation Workshop includes Execute Script Action which, besides supporting other scripting formats, can execute JScript scripts automatically. The JScript examples are aimed at giving the user a rather general idea how to supplement intuitive automation with custom scripts when necessary.

The data communication with other scripts is based on screen output. The screen output of the script can be retrieved by using Variable Wizard from subsequent Execute Script Action. It is possible to retrieve either full screen output or any of the first six output lines separately.

JScript #1

var text;
text="Hello world!";
WScript.Echo(text);

JScript #2

var text;
text="Hello world!";

function RemoveLastChars(str,count){
   return str.substring(0,str.length-count);
}

text=RemoveLastChars(text,7); // Output: Hello
WScript.Echo(text);

Discover

Automation Workshop includes many more awesome Triggers and numerous Actions to aid you to automate any repetitive computer or business task by providing state-of-the-art GUI tools.

Automated Trigger · FTP Watcher
FTP Watcher
Automate Action · Compare
Compare

Seamless automation. Take a quick 90-second journey!

Just ask…

If you have any questions, please do not hesitate to contact our support team.