嘿,我運行以下腳本: using terms from application "Messages"
on message received this_message from this_buddy for this_chat
display dialog "test"
end message received
end using terms from
但在消
我的應用程序改變根據用戶的熱鍵在iChat狀態,使用AppleScript。一切順利,但在iChat未運行的情況下,我有一個「iChatAgent」正在運行,圖標在狀態欄中;我的Dock中沒有iChat的圖標。 所以在這種情況下,如果我的應用程序發送AppleScript命令來更改iChat狀態(tell application "iChat" set status blah-blah...),它
獲取的iChat訊息的內容,我會的事實,我是新來的AppleScript前言本... 我的iChat設置爲運行該腳本每當收到新的消息: using terms from application "iChat"
on message received theMessage from theBuddy for theChat
set theHandle to handle o
我有以下applescript。當我收到即時消息時,我已將它設置爲在ichat中運行。它會通知我通過新郵件的低吼: on notify_growl(theName, theTitle, theDescription, theImage)
display dialog theImage
tell application "Growl"
notify with name