Created
February 14, 2013 14:39
-
-
Save flagranterror/4953216 to your computer and use it in GitHub Desktop.
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 "Google Chrome" | |
set the clipboard to URL of active tab of front window 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