我正在尝试删除鼠标事件,并尝试使用以下小脚本:
set machineB to "eppc://user:pw@myothermac.local"
tell application "Finder" of machine machineB
say "Hello This is so stupid"
end tell
tell application "System Events" of machine machineB
click at {100, 100}
end tell
剧本
say
可以,但引发以下错误:
error "System Events got an error: Canât continue click." number -1708
â1708 <reference> doesnât understand the <commandName> message.
我做错什么了?我可以用它在我自己的机器上“点击”(至少它不会抛出错误)?
[编辑]
这和我的另一个问题有关
here.