Start a program with its patrameters on startup. Is it possible?
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.
Answers (1)
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.
http://stackoverflow.com/questions/1686975/choosing-a-windows-automation-script-language-autoit-vs-autohotkey