问题
I am using autohotkey to automate some manual process. I have to run a java command line program(.java) that accepts couple of command line arguments.
I want to run this java program from autohotkey after executing some pre-defined tasks in the automation.
How would I do this?
回答1:
I think that this is what you are looking for. In this example, I over-ride the company default search engine inside IE.
#i::Run "C:\Program Files\Internet Explorer\iexplore.exe" http://www.google.com
Basically, put the run pointer between double quotes and the arguments after that. Let me know how you resolve it.
来源:https://stackoverflow.com/questions/11011527/autohotkey-script-running-program-with-command-line-arguments