Created
December 6, 2010 08:01
-
-
Save xhan/730001 to your computer and use it in GitHub Desktop.
Update Adium status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Adium" | |
go available with message "test again" -- or away or invisible | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NSAppleScript *appleScript = [[NSAppleScript alloc] initWithSource:@"tell application "Adium" to tell first account to make new chat with contacts {first contact} with new chat window"];
NSDictionary *errorDictionary;
NSAppleEventDescriptor *eventDescriptor = [appleScript executeAndReturnError:&errorDictionary];