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


Click here to return to the 'Modifying Applescripts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modifying Applescripts
Authored by: totallyGreg on Feb 28, '05 03:30:56PM

I was able to get it to work using

tell application "Dock"
open Location <URL>
end



[ Reply to This | # ]
Modifying Applescripts
Authored by: Puzo on Feb 28, '05 03:44:10PM
Yeah. Seems openURL seems is not compiling for Safari or anything other than Firefox.... By the way, the following part
		tell application "System Events"
			open location googleMaps & addressURL
			activate
		end tell
works as well.

[ Reply to This | # ]
Modifying Applescripts
Authored by: darrick on Mar 01, '05 06:06:55AM
i had to use

tell application "Safari" 
     activate -- before open location
     open location googleMaps & params -- after activate
end tell


[ Reply to This | # ]
Modifying Applescripts
Authored by: hedgeland on Mar 09, '05 07:41:08PM

Thank you for posting this! I was trying to change the script myself, but I didn't have the patience to figure out why it wouldn't compile by just replacing "firefox" with "safari".

I used your script block, works great!



[ Reply to This | # ]