Skip to content

Instantly share code, notes, and snippets.

@ferblape
Created October 24, 2013 05:45
Show Gist options
  • Select an option

  • Save ferblape/7131963 to your computer and use it in GitHub Desktop.

Select an option

Save ferblape/7131963 to your computer and use it in GitHub Desktop.
Google Hangouts - the hard way
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