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
-- To make it work, add Zen Browser as an app in from the Scripts tab in Hookmark, and then past this script in the Get Address tab | |
use scripting additions | |
use framework "AppKit" | |
-- classes, constants, and enums used | |
property NSShiftKeyMask : a reference to 131072 | |
property NSAlternateKeyMask : a reference to 524288 | |
property NSControlKeyMask : a reference to 262144 | |
property NSEvent : a reference to current application's NSEvent |