Hi all. I wrote a code in VBA to control  a robot. I m reading and writing values to a PLC with my spreadsheet. Do far so good. I am wondering if it is possible to automate the process. When i want to run my program i have first to run the Gateway Server exe first. After the program is up and running i have to go to parameters and select the PLC. Then i have to login and select online. After that i can run my spreadsheet. Is it possible with a script or a batch to automate the proccess for the Gateway Server exe? I want if possible when i start my pc the exe to run, go to parameters, choose the plc, then online. Thanks for your time.

0 Comments   [ + ] Show Comments


Please log in to comment



You can only start a program with parameters if it has been programed to do so, you need the documentation for the Gateway Server.exe.

An alternative method is to use a key pressing program, see this link.


Answered 03/20/2014 by: rileyz
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja