具有命令行参数的Autohotkey脚本运行程序 [英] Autohotkey script running program with command line arguments

查看:345
本文介绍了具有命令行参数的Autohotkey脚本运行程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用autohotkey来自动化一些手动过程. 我必须运行一个接受几个命令行参数的Java命令行程序(.java).

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.

我想在自动化中执行一些预定义的任务后,从autohotkey运行此Java程序.

I want to run this java program from autohotkey after executing some pre-defined tasks in the automation.

我该怎么做?

推荐答案

我认为这就是您想要的.在此示例中,我超越了IE中的公司默认搜索引擎.

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.

这篇关于具有命令行参数的Autohotkey脚本运行程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆