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


Click here to return to the 'A one-liner replacement' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A one-liner replacement
Authored by: DougAdams on Nov 19, '03 02:12:49PM
This will work in Panther and Jaguar:

set theURL to open location "http://www.google.com/search?hl=en&q=" & (the clipboard)

try -- Jaguar default browser
	tell application "Finder"
		open location theURL
	end tell
on error -- Panther default browser
	open location theURL
end try


[ Reply to This | # ]