Re: Error with GURL/GURL
Re: Error with GURL/GURL
- Subject: Re: Error with GURL/GURL
- From: John Stewart <email@hidden>
- Date: Mon, 21 Jun 2004 07:15:12 -0400
On 06/21/04 at +0200 Bernard Desgraupes said this
>
Can someone tell me what's wrong with this simple script (which used to
>
work under Jaguar AFAIR):
>
>
tell application "Finder"
>
open location "http://sourceforge.net/projects/rezilla"
>
end tell
>
>
I get an error, something like "Some data do not have the correct type"
>
>
The dictionary for Standard additions says:
>
"open location: Opens a URL with the appropriate program
>
open location plain text -- the URL to open
>
[error reporting boolean] -- Should error conditions be
>
reported in a dialog?"
If you got the command from Standard Additions OSAX why did you use it in a Finder tell block? Take
it out of the tell block and it works as advertised.
JBS
--
Whatever happened to Preparations A through G? - George Carlin
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.