I would like to have a script to launch one of my application automatically, but due to the setting of the program, the application has to be launched while holding down the Ctrl key (for the entire time until the application fully loaded up) for it to work properly.
Now, I know that in Batch we can do something like this
START “” “C:\Program Files\Microsoft Office\Winword.exe” “D:\Docs\demo.txt”
But, how could I implement a holding Ctrl key?
If you know any other script types that could do this, such as VB or PowerShell, I am willing to try, too.
Thanks
Arguments are picked up with:
Regarding the ctrl key I would strongly recommend you to alter the way your software works because it is rather stupid.
If you absolutely must have the ctrl key pressed down I would suggest looking into things like this: http://tksinghal.blogspot.se/2011/04/how-to-press-and-hold-keyboard-key.html