-
-
Save ashkrosh/c6b92f4a0b8815546796c851ed3f99bb to your computer and use it in GitHub Desktop.
Set Microsoft Lync status with applescript
This file contains hidden or 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 "Be Right Back" | |
end tell | |
end tell | |
end tell | |
end tell | |
end tell | |
--go available | |
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 | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment