Created
February 6, 2013 17:42
-
-
Save flagranterror/4724308 to your computer and use it in GitHub Desktop.
Send front Safari URL to Wedge.app
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 "Safari" | |
activate | |
set the clipboard to URL of front document as string | |
end tell | |
tell application "Wedge" | |
activate | |
end tell | |
-- You will need to tick "Enable support for assistive | |
-- devices" in System Preferences -> Accessibility | |
tell application "System Events" | |
tell process "Wedge" | |
tell menu bar 1 | |
tell menu bar item "Post" | |
tell menu "Post" | |
click menu item "New" | |
end tell | |
end tell | |
tell menu bar item "Edit" | |
tell menu "Edit" | |
click menu item "Paste" | |
end tell | |
end tell | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment