作者drlai (苏打)
看板EZsoft
标题[请益] AutoHotKey有办法设定delay吗?
时间Sun Apr 6 00:52:53 2008
最近刚好遇到需要大量处理的文件
我处理的文件是word档
档案很多,工作就是每个档案加入页码
原本想使用AutoHotKey来达成
不过遇到一些些小问题
以下是我设计的script
#n::
Send, {ALTDOWN}nnub{ALTUP}
KeyWait ALT
Send, {DOWN}{ENTER}
return
使用Office2007
以上的script有时候可以成功有时候会失败
(卡在後面down,enter的部份,前面都OK)
我猜是hotkey送的太快,office还没反应过来
想请问,有办法加入Delay之类的吗?
(上面我有加入KeyWait..不过好像没用处)
能指导一下吗?
第一次写有点不太懂~"~
--
▊ ◥ thePainter. ◤ ▎
▊ ◣◢
◣ ◤ ◣
◤ ▎
▊ ◥◤ ◣
◤ ◤ ▎ http://www.wretch.cc/blog/myelf
▊ ◥ ◢ ◤ ◤ ◤
▎ Wretch@BBS -> P_myelf
▊ ◢◤ thePainter. ◣ ▎ φthePainter.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.115.73.54
1F:推 tokugawa:Send {DOWN}和Send {ENTER}中间加个Sleep 1000(间隔一秒) 04/06 01:04
2F:→ drlai:原来是sleep~感谢:) :) 04/06 01:19