Autohotkey script running program with command line arguments

ぃ、小莉子 提交于 2019-12-23 20:29:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!