• 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: BUG: Where's Application Support?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: can I do this better?
  • Next by Date: printing problems with script editor
  • Previous by thread: Re: BUG: Where's Application Support?
  • Next by thread: Re: BUG: Where's Application Support?
  • Index(es):
    • Date
    • Thread