Re: BUG: Where's Application Support?
Re: BUG: Where's Application Support?
- Subject: Re: BUG: Where's Application Support?
- From: Nigel Garvey <email@hidden>
- Date: Mon, 17 Jun 2002 11:11:27 +0100
Paul Berkowitz wrote on Sun, 16 Jun 2002 06:59:16 -0700:
>
On 6/16/02 2:39 AM, "John Stewart" <email@hidden> wrote:
>
> I've been finding that with multiple word commands and classes it's a good
>
> idea to use parenthesis
>
> to make sure AppleScript doesn't get confused. This seems to be happening
>
in
>
> more in the OS X
>
> versions than OS 9 and previous.
>
>
>
> path to (application support) from user domain
>
> --> alias "OS X:Users:john:Library:Application Support:"
>
>
>
> path to (application support)
>
> --> alias "OS X:Library:Application Support:"
>
>
>
>
Yes, these work. Thank you, John. I had been specifically not doing this
>
because I didn't want to 'break up' the 'path to...' command. That probably
>
comes from all those admonitions from Nigel not to parenthesize out the 'as
>
string' part. ;-)
Hey! Don't blame me for the junk on *your* computer. ;-)
You *can* parenthesize out the 'as string' part as long as you also
parenthesize out the 'path to' part. :-)
path to (application support) as string -- 'as string' as parameter
(path to application support) as string -- 'as string' as coercion
... at least, that's the way it is on my non-beta systems.... :-)
NG
_______________________________________________
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.