You need two things for this hint: An AppleScript and a hotkey manager. For the hotkey manager I use Quicksilver but anything that allows you to run AppleScripts or applications on a keystroke is fine.
For the script, open AppleScript Editor and save the following code as a script (or an application if you're going to run it as an application), for example calling it Open Omnibar.
tell application "Google Chrome" if (count of windows) is 0 or front window is not visible then make new window else make new tab at end of tabs of front ...
Source: http://feeds.macosxhints.com/click.phdo?i=4b3253322d4898d49224b1eb479f97aa
No comments:
Post a Comment