/grab-url-from-browser

A little AppleScript to grab the URL from the active tab of your default browser

Primary LanguageAppleScript

grab-url-from-browser

A little AppleScript to grab the URL from the active tab of your default browser.

Usage

$ osascript ./grab-url.applescript; pbpaste

How it works

Crudely - there's nothing at all nice about this yet. It simply uses GUI scripting to select and copy the URL to the clipboard …