Connect / Disconnect with AppleScript?
Posted: Thu Jul 07, 2005 12:47 pm
I'm a bit green when it comes to applescript, so please bear with me. I checked all of the scripts on adiumxtras.com and I couldn't really find anything that dealt with dis/connecting accounts in Adium to use as an example.
I used the "open dictionary" feature in the script editor to see what methods adium supports.
I see: connect account : an account
and: disconnect account : an account (if no account is specified, all disconnect)
So I tried:
But nothing happened. Likewise, telling it to "connect account fahrvergnuugen" after I manually disconnected did nothing.
What am I doing wrong?
I used the "open dictionary" feature in the script editor to see what methods adium supports.
I see: connect account : an account
and: disconnect account : an account (if no account is specified, all disconnect)
So I tried:
Code: Select all
tell application "Adium"
activate
disconnect
end tell
What am I doing wrong?