Skip to content

Instantly share code, notes, and snippets.

@chaptastic
Created August 5, 2011 15:10
Show Gist options
  • Save chaptastic/1127738 to your computer and use it in GitHub Desktop.
Save chaptastic/1127738 to your computer and use it in GitHub Desktop.
Open in Chrome for Reeder
property theURL : ""
set clipSave to the clipboard
tell application "Reeder"
activate
end tell
tell application "System Events"
keystroke "c" using {shift down, command down}
end tell
set theURL to the clipboard
set the clipboard to clipSave
tell application "Google Chrome"
activate
if (exists window 1) then
set curURL to URL of active tab of window 1
if (curURL is "chrome://newtab/") then
tell window 1 to set URL of active tab to theURL
else if curURL is theURL then
-- bring to front and ignore
else
open location theURL
end if
else
open location theURL
end if
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment