• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Error with GURL/GURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Error with GURL/GURL (From: Bernard Desgraupes <email@hidden>)

  • Prev by Date: Error with GURL/GURL
  • Next by Date: Re: Error with GURL/GURL
  • Previous by thread: Error with GURL/GURL
  • Next by thread: Re: Error with GURL/GURL
  • Index(es):
    • Date
    • Thread