我正在尝试对OSX Mountain Lion. 我正在使用applescript,但我尝试过的一切都没有为我解决。
这是我首先尝试的
using terms from application "Messages"
on message sent theObject
display "it worked!"
end message sent
end using terms from
但是当我按下运行它似乎只是立即退出程序。如何让它留在监听器循环中?
我正在尝试对OSX Mountain Lion. 我正在使用applescript,但我尝试过的一切都没有为我解决。
这是我首先尝试的
using terms from application "Messages"
on message sent theObject
display "it worked!"
end message sent
end using terms from
但是当我按下运行它似乎只是立即退出程序。如何让它留在监听器循环中?