The great OS X Finder [WAS: Re: Delay in the Finder]
The great OS X Finder [WAS: Re: Delay in the Finder]
- Subject: The great OS X Finder [WAS: Re: Delay in the Finder]
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 03 Mar 2002 10:33:23 -0800
On 3/2/02 3:54 PM, "Emmanuel" <email@hidden> wrote:
>
At 5:47 PM +0100 2/3/02, Jim Brandt wrote:
>
>
>
> Is there preferred way to tell a script to wait for a Finder function
>
> to complete?
>
>
Paul's suggestions are certainly most valuable and they provide a solution.
>
>
On the other hand, it would be very enjoyable if we could just use Finder
>
as it was designed, and not being permanently working it around.
Indeed. The trouble is that there seems to have been a lot wrong with the
pre-OS X Finder at a deep structural level, endemically, that a bit of
tinkering cannot fix. The solution was to fix the the Finder, which is what
Apple engineers have evidently done in OS X. Obviously, the new Unix basis
gave them a completely fresh slate. But - not so obviously - what with all
the concern for Aqua looks, compatibility with Classic, etc. etc. -
AppleScript was not forgotten. A really thorough cleansing of the system has
been done, but "invisibly' in the sense that all the old Finder commands now
work in a brand new system. This is a tremendous achievement, which I don't
think has been yet fully celebrated or appreciated. Perhaps as more
scripters abandon their old Quadras and 7200s and move over to OS X, it will
be hailed as the true success story it is. When your favorite apps are
updated to OS X, the Finder, and AppleScript, is ready and waiting for you.
It's a truly great experience, and a real pleasure. Really - when you
remember all the fears of just 18 months ago that AppleScript might be
abandoned, or at least neglected, in OS X, and see the reality, it should be
the cause for 100 cheers.
>
>
I think that your problem is not that the function is not complete, but
>
that somehow Finder did not perform all the updates it had to.
>
>
There is a very mysterious "update" verb in Finder. Its entry in the
>
dictionary lets think about a purely cosmetic update. Personally, I would
>
try updating, either the file(s) (newly in Trash), or the Trash itself. I
>
have not tried at all. But I cannot imagine that Finder would accept to:
>
>
-------------------------
>
update alias "Macintosh HD:Trash:NewlyTrashedFileName"
>
-------------------------
>
>
and then pretend that the file is not in the trash.
If only... Every case is worth testing out, but in almost all cases where I
tried 'update' to solve this sort of problem, it did nothing much. A much
better solution, if you don't want to be dependent on Akua Sweets - move
over to OS X.
--
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.