Re: [late reply] Re: Parameters for "path to" Command
Re: [late reply] Re: Parameters for "path to" Command
- Subject: Re: [late reply] Re: Parameters for "path to" Command
- From: Nigel Garvey <email@hidden>
- Date: Tue, 20 Aug 2002 09:31:30 +0100
email@hidden wrote on Mon, 19 Aug 2002 22:30:50 EDT:
>
>>But you can use
>
>>
>
>> set pathToMyContainer ":" as file specification as string
>
>>
>
>>and you can use it with MacOS 8.1, 8.6, 9.1, 9.2.2, and 10.1.5 (FYI -
>
there
>
>>are *no* other versions of the MacOS worth using on any PowerPC Mac).
>
>>
>
>>I can't wait to see if this trick is broken in Jaguar.
>
>
Nigel chimed in with
>
>
>It's broken on any system that doesn't have Jon's Commands installed. ;-)
>
>
Not by my tests, which I have just done again with Jon's Commands removed,
>
again on 8.1, 8.6, 9.1, 9.2.2, and 10.1.5 (and BTW, does *anyone* not use
>
Jon's commands?). It (":" as file specification) still returns the container
>
path of the Applescript applet. Maybe something else is at work on your
>
system(s)?
Apologies if that was wrong. On both my machines, I get the error 'Can't
make ":" into a file specification'. Jon's has a 'string to file
specification' coercion, ergo I assumed that to be responsible for the
success of your line. (I've removed the coercions from my own copy of
Jon's to prevent myself accidentally taking them as standard.) Did you do
your tests after removing the OSAX *and* rebooting?
What does work for me is:
file ":" as file specification as string -- NB 'file'
I've no idea if this works in 10.
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.