开发者

How to get the contact online status of Skype friends via Applescript

is there a way to get the online status of each Skype contact via Applescript?

So far I only managed to get the group of online users. How开发者_如何学Pythonever, I need also the corresponding online status.

Thnaks for your help!

Cheers Julian

set groupType to send command "GET GROUP " & group & " TYPE" script name "getType"
    if groupType contains "ONLINE" then
        set onlineFriends to send command "GET GROUP " & group & " USERS" script name "getType"


Okay, its quite easy... sometimes it helps to take a break ;-)

tell application "Skype"
   set result to send command "GET USER <userName> ONLINESTATUS" script name "getType"
end tell

Cheers Julian

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜