/build/static/layout/Breadcrumb_cap_w.png

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.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: rileyz 10 years ago
Red Belt
0

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

 

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ