Created
August 13, 2012 15:26
-
-
Save DougEverly/3341851 to your computer and use it in GitHub Desktop.
Open current Safari URL in Webkit
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
| property theURL : "" | |
| tell application "Safari" | |
| set theURL to URL of current tab of window 1 | |
| end tell | |
| tell application "WebKit" | |
| make new document | |
| set URL of document 1 to theURL | |
| activate | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment