Skip to content

Instantly share code, notes, and snippets.

@andrewpmiller
Last active August 29, 2015 14:09
Show Gist options
  • Save andrewpmiller/d8999645944056605651 to your computer and use it in GitHub Desktop.
Save andrewpmiller/d8999645944056605651 to your computer and use it in GitHub Desktop.
A simple AppleScript that opens a Chrome window to compose a gmail message
on run
tell application "Google Chrome"
make new window
set URL of active tab of window 1 to "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&shva=1"
activate
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment