Created
October 24, 2013 05:45
-
-
Save ferblape/7131963 to your computer and use it in GitHub Desktop.
Google Hangouts - the hard way
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 "Google Chrome" | |
| activate | |
| set theUrl to "https://plus.google.com/hangouts/_/" | |
| if (count every window) = 0 then | |
| make new window | |
| end if | |
| tell window 1 to make new tab with properties {URL:theUrl} | |
| delay 5 | |
| set theUrl2 to get URL of active tab of window 1 | |
| set the clipboard to theUrl2 as string | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment