Created
August 21, 2013 16:10
-
-
Save timvisher/6296525 to your computer and use it in GitHub Desktop.
Revisions
-
timvisher created this gist
Aug 21, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ --tell application "Google Chrome" -- set front_tab_url to URL of active tab of front window as text --end tell -- tell current application to set selection to front_tab_url tell application "Google Chrome" set the clipboard to URL of active tab of front window as text end tell delay 0.2 tell application "System Events" tell (name of first application process whose frontmost is true) keystroke "v" using {command down} end tell end tell