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: Paul Berkowitz <email@hidden>
- Date: Tue, 20 Aug 2002 01:44:16 -0700
On 8/20/02 1:31 AM, "Nigel Garvey" <email@hidden>
wrote:
>
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.
It works in AS 1.8.3 here in OS X. It didn't work in some earlier versions,
I seem to recall.
But
alias ":" as string
now returns the name of your startup disk here, not the container path of
'me', presumably on the basis that ":" is equivalent to the POSIX path "/".
--
Paul Berkowitz
_______________________________________________
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.