Created
April 26, 2009 11:45
-
-
Save anderscarling/102013 to your computer and use it in GitHub Desktop.
Turn's tabs open in NewsNetWire into Clippings. Relies on UI Scripting access and default keyboard shortcut.
This file contains 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
-- Note, this has proven to be quite unreliable if the tabs are not preloaded and your not quite lucky (which I was my first run, i guess). | |
tell application "NetNewsWire" | |
activate | |
tell application "System Events" to tell process "NetNewsWire" to keystroke "\\" using command down | |
set repeatTimes to number of tabs - 1 | |
repeat repeatTimes times | |
tell application "System Events" to tell process "NetNewsWire" to keystroke "}" using command down | |
tell application "System Events" to tell process "NetNewsWire" to keystroke "s" using {command down, option down} | |
tell application "System Events" to tell process "NetNewsWire" to keystroke "w" using command down | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment