Re: "path to resource" in a tell Finder statement doesn't work
Re: "path to resource" in a tell Finder statement doesn't work
- Subject: Re: "path to resource" in a tell Finder statement doesn't work
- From: has <email@hidden>
- Date: Mon, 9 Jan 2006 18:12:19 +0000
Andrea -XFox- Govoni wrote:
>path to resourceÄÇv : Return the full path to the specified resource
> path to resource string : the name of the requested resource
> [in bundle file] : an alias or file reference to the bundle containing
>the resource (default is the current application/script bundle)
>
>I interpreted "default is the current application/script bundle" as the
>application or script bundle from which the command is executed.
Quite so. But then, you did ask for the command to be executed by the Finder. Commands are a common source of confusion as AS users often fail to appreciate that there's no conceptual difference between an application-defined command, an osax-defined command and a script-defined command. I think a lot of the problem stems from AS having so many different syntaxes for them; folk assume that things that look different will work differently too, which is not always the case.
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden