Created
March 22, 2016 20:25
-
-
Save masnick/0e8206061309264df502 to your computer and use it in GitHub Desktop.
Get the URL from the active Chrome tab/window for TextExpander
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 frontIndex to active tab index of front window | |
| set theURL to URL of tab frontIndex of front window | |
| end tell | |
| return theURL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment