Automation Workshop includes Execute Script Action which, besides supporting other scripting formats, can execute batch file scripts automatically. The batch file examples provided are aimed at giving the user a rather general idea how to integrate batch files into the flow of automated processes.
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.
Batch file #1
@echo off
set text=Hello world!
echo %text%
Batch file #2
@echo off
set text="Hello my example world!"
for /f "tokens=2,3" %%i in (%text%) do (
rem Output: my example
echo %%i %%j
)
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.
Assistance is here…
If you have any questions, please do not hesitate to contact our support team.