Monday, 18 July 2011

Quickly open a new Chrome tab/window from anywhere

If you're a Google Chrome user, you may like its Omnibar because it allows you to instantly search the web and leverage your URL history at the same time. This hint explains how to instantly get to an Omnibar from within any application.


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  ...


Add to digg Add to Reddit Add to Slashdot Email this Article Add to StumbleUpon

Source: http://feeds.macosxhints.com/click.phdo?i=4b3253322d4898d49224b1eb479f97aa

apple blog apple hot news apple itablet news imac store

No comments:

Post a Comment