Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Keyboard shortcut for opening current Safari page in Google Chrome ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Keyboard shortcut for opening current Safari page in Google Chrome
Authored by: yesiamnhoj on Jun 12, '12 04:20:34PM

My only gripe is that, if Chrome wasn't already open, it will create a blank tab as well as open your link.

If you mean from Mike Hardy's script try the modified version below.

Best wishes
John M

on open location theURL
	tell application "System Events"
	-- Check if Chrome is running if so make a new window.
		if name of processes contains "Google Chrome" then
			tell application "Google Chrome" to make new window
		end if
	end tell
	tell application "/Applications/Google Chrome.app"
		activate
		delay 0.1 -- The application needs some time to set up the first window if starting from scratch.
		set URL of active tab of first window to theURL
	end tell
end open location[code]


[ Reply to This | # ]
Keyboard shortcut for opening current Safari page in Google Chrome
Authored by: vertigo on Jun 13, '12 03:04:19AM

No, sorry, I meant if you use Eject To Flash you get the extra blank tab when Chrome opens for the first time.



[ Reply to This | # ]