开发者

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

开发者 https://www.devze.com 2022-12-08 09:10 出处:网络
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

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

精彩评论

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

关注公众号