• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripts no longer work in 9.2.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scripts no longer work in 9.2.2
      • From: Jolly Roger <email@hidden>
References: 
 >Re: Scripts no longer work in 9.2.2 (From: Jolly Roger <email@hidden>)

  • Prev by Date: "RE: interesting discovery" thread goes FOOM
  • Next by Date: RE: Scripts no longer work in 9.2.2
  • Previous by thread: Re: Scripts no longer work in 9.2.2
  • Next by thread: Re: Scripts no longer work in 9.2.2
  • Index(es):
    • Date
    • Thread