View Single Post
  #1  
Old June 8th, 2009, 10:29 PM
kelly001 kelly001 is offline
Registered User
 
Join Date: Jul 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
kelly001 is on a distinguished road
Use default browser in Apple script?

I have the following simple Apple Script but I'd like the default browser to open the URL and not specifically Safari. Any ideas?

Thanks!

Quote:
tell application "Safari"
activate
do JavaScript "window.open('http://www.google.com')" in document 1
end tell
Reply With Quote