Re: Moving files from desktop to User folders
Re: Moving files from desktop to User folders
- Subject: Re: Moving files from desktop to User folders
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 05 Jan 2003 12:30:29 -0800
On 1/5/03 10:48 AM, "Gary Lists" <email@hidden> wrote:
>
On or about 1/5/03 1:14 PM, Paul Berkowitz wrote:
>
>
> 1) With older OS's, at least, 'path to' should never be used inside a Finder
>
> tell block. it may be behaving better in OS X, but it's a good idea to set a
>
> variable like theDest outside the Finder. Not important if it's working OK.
>
>
Paul,
>
>
Can you offer any further information about this issue, as well as any other
>
comments about being inside a 'tell' vs. outside?
1) In OS 8/9, 'path to desktop' inside a Finder tell block would actually
get you the path to the startup disk - or maybe it was the other way around,
I've forgotten now.
2) Other 'path to' statements in the Finder would occasionally be wonky -
I'm sorry i can no longer remember specific details.
>
>
Your comment here made me think about some errors that I can't seem to
>
explain, and although I've tried moving statements, I haven't isolated every
>
instance where I've set some reference inside when maybe it should have been
>
out.
3) Running any Standard Additions inside an application tell should be
avoided when not necessary (sometimes it's very necessary to use them in
tell blocks, especially 'display dialog') to avoid unnecessary terminology
conflicts. In particular 'file'. 'file' is used by AppleScript, Standard
Additions (e.g. 'open for access'), notoriously the Finder, and also
notoriously Outlook Express and Entourage, to mean very different things.
The application's terminology always rules, which prevents you using the
same term for an osax or AppleScript meaning.
>
>
I have a few other questions, but I'll put those in a separate post as they
>
are no directly related.
>
>
Thanks, Paul ... and others.
--
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.