Created
November 19, 2014 22:51
-
-
Save xcv58/21ada9d69b7a3801ad7b to your computer and use it in GitHub Desktop.
Use Inbox in Safari
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 "Safari" | |
activate | |
tell front window | |
set current tab to make new tab | |
end tell | |
end tell | |
tell application "System Events" | |
tell process "Safari" | |
click menu item 16 of menu 1 of menu item "User Agent" of menu 1 of menu bar item "Develop" of menu bar 1 | |
end tell | |
end tell | |
tell application "Safari" to set the URL of the front document to "https://inbox.google.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment