Last active
December 20, 2015 13:28
-
-
Save MikeSel/6138617 to your computer and use it in GitHub Desktop.
Set Microsoft Lync status using AppleScript
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 "Microsoft Lync" | |
activate | |
end tell | |
tell application "System Events" | |
tell process "Microsoft Lync" | |
tell menu bar 1 | |
tell menu bar item "Status" | |
tell menu "Status" | |
click menu item "Available" | |
end tell | |
end tell | |
end tell | |
set value of text field 1 of window "Microsoft Lync" to "Custom Status" | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment