zconant 发表于 2009-8-26 09:01:48

如何调出指定文件的右键菜单

我想用autoit模拟用鼠标右击指定文件,然后在弹出菜单中选择某项功能。

darklight 发表于 2009-8-26 09:02:51

貌似没有相关函数,关注一下,正好也要用到

zconant 发表于 2009-8-26 11:14:41

自己顶自己,哈哈

abendessen 发表于 2009-8-26 11:20:19

这个好像没有吧

bbip 发表于 2009-8-26 12:37:48

这个还真不知道

clshuai 发表于 2009-8-26 12:44:14

关注中。。。。

afan 发表于 2009-8-26 12:46:11

本帖最后由 afan 于 2009-8-26 18:12 编辑

$file = 'notepad.exe'
ShellExecute(@WindowsDir)
WinWaitActive('Windows')
Send($file)
Send('+{F10}')Or$file = '文件路径'
RunWait("explorer /select," & $file)
Send('+{F10}')

zconant 发表于 2009-8-26 16:49:14

7# afan


楼上大爱!拜谢!

sxd 发表于 2009-9-1 03:54:12

为了赚钱而回帖 楼主发2贴 我也回2贴
Send('{APPSKEY}')

kn007 发表于 2009-9-1 07:04:16

http://www.autoitx.com/forum.php?mod=viewthread&tid=9351&page=1&fromuid=7644076#pid82678

嘿嘿,回楼上的,你说错了好像!?

sjy1219 发表于 2010-1-14 11:24:54

Mark一下,以防将来再用,多谢。
页: [1]
查看完整版本: 如何调出指定文件的右键菜单