Re: Scripts no longer work in 9.2.2
Re: Scripts no longer work in 9.2.2
- Subject: Re: Scripts no longer work in 9.2.2
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 06 Dec 2001 08:06:05 -0800
On 12/6/01 7:52 AM, "Jolly Roger" <email@hidden> wrote:
>
On 12/6/2001 8:57 AM, "Paul Berkowitz" <email@hidden> wrote:
>
>
> The advantage is that 'path to' now works bug-free in Finder tell blocks, I
>
> believe.
>
>
This is a confusing statement to me, Paul. Why should the "path to" command
>
have anything to do with the Finder?
>
>
There's a bug (yet another Finder bug). I thought everyone knew about it. If
you put
tell application "Finder"
path to desktop
end tell
at least in all earlier OS's up to 9.2.1 (I don't have 9.2.2 yet), you get
the path to the startup disk, not the desktop. This was always the main
argument used for not putting osax commands into the Finder, although it's
the only buggy one I know. I kept expecting other bugs to turn up, so i
usually just avoided putting any 'path to' command into the Finder,
particularly as it had its own "special folders" anyway.
--
Paul Berkowitz