Re: Path to ... as string [was Re: Complete newbie]
Re: Path to ... as string [was Re: Complete newbie]
- Subject: Re: Path to ... as string [was Re: Complete newbie]
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 25 Apr 2003 19:06:57 -0700
On 4/25/03 4:56 PM, "John Delacour" <email@hidden> wrote:
>
At 5:40 pm +0200 25/4/03, Emmanuel wrote:
>
>
>> (path to startup disk as string) & "Users:username:Documents:"
>
>>
>
>> ... is dramatically faster still.
>
>>
>
>> As I said, not particularly useful, but interesting. :-)
>
>
>
> Interesting indeed, but possibly non-working on non-English
>
> machines, of course.
>
>
>
On non-English machines this would probably be even faster:
>
>
On my machine
>
>
(path to "boot" as string) & "Users:username:Documents:"
>
>
is indeed nearly twice as fast as
>
>
path to "docs" as string
I think Emmanuel meant that the English folder names "Users" and "Documents"
won't work on non-English machines. I you were writing for your own machine,
you'd just substitute the correct terms there. But the great advantage of
path to "docs" as Unicode text
or
path to At East documents folder as Unicode text
is that they will work on all Macs everywhere, which is well worth the list
1/100th of a second, or whatever.
--
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.