Re: Path To blessed items (OSX and OS9): Odd or Normal?
Re: Path To blessed items (OSX and OS9): Odd or Normal?
- Subject: Re: Path To blessed items (OSX and OS9): Odd or Normal?
- From: Rob Jorgensen <email@hidden>
- Date: Sat, 21 Jun 2003 15:20:33 -0400
At 7:17 PM +0100 6/21/03, John Delacour wrote:
At 8:59 am -0400 21/6/03, Rob Jorgensen wrote:
At 12:43 AM +0100 6/21/03, John Delacour wrote:
I think this is a bug in the OS X Finder. It has problems with
the cache, in other instances too. I don't know how to formulate
a report for the bug or I would do so. If you log out and come
back the behaviour will change.
I feel that this is the part of the issue that is most likely to
bite someone (OS X), or at least cause a WTF moment.
For whatever reason, user has moved their "Public" folder to the
Trash. If they run a script that contains:
set pub to path to "pubb"
--> alias "Mac HD:Users:user:.Trash:Public:"
tell application "Finder" to make new folder at pub
--> Error number -10000. Finder got an error: Can't continue.
Of course now that I know about it, I know how to deal with it,
but it wasn't all that obvious to me before Gary and I discussed
the whole "path to" issue. Up to this point, I had assumed (and I
don't need a lecture about assuming) that the "path to" command
pointed to the default location of the folder, as defined by Mac OS.
I've just tested the logout thing and it is as I suspected. If I run this
tell application "Finder" to reveal (path to "pubb")
-> folder "Public" of folder "jd" of folder "Users".....
then move Public to the trash and run it again, I get the path to
the new location in the Trash.
If I then log out and run it again, the (empty) folder is recreated in ~/
This would probably do as the basis of a bug report, but the problem
is far wider than this. When I installed a new Eudora package the
other day and dragged Eudora.app to the Dock, all that happened when
I clicked the icon is that an anonymous folder icon appeared in the
Dock for a moment and Eudora was not launched. There's more but I
won't elaborate. I blamed SD of course, but he wrote "I'm always
suspicious of new versions and the caching the Finder does. Please
log out and back in and see if the problem persists." I did so and
the problem went away.
I hope that we aren't forced to pay for an OS upgrade to get the bug
fix for this.
-- Rob (hoping that OS X 10.2.7 is released with the fix)
_______________________________________________
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.