Applescript and Bookmarklets
I'm trying to connect my [URL="http://quixapp.com/"]Quix[/URL] bookmarklet to a keyboard command (say, control-Q). My first try was applescript, using the following code:
[CODE]tell application "OmniWeb" tell favorites set theaddress to address of bookmark "Quix" end tell tell front browser OpenURL theaddress end tell end tell [/CODE] This does not seem to work because the OpenURL command opens a new browser tab. Any other suggestions? |
Why not just assign a keyboard shortcut to the relevant bookmark? You can assign a keyboard shortcut to any menu item (including bookmarks in the bookmarks menu) via the "Keyboard" system preference pane.
|
Yep, that works. Thanks!
|
All times are GMT -8. The time now is 05:40 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.