Re: Deleting files
Re: Deleting files
- Subject: Re: Deleting files
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 07 Mar 2004 15:38:40 -0800
On 3/7/04 1:13 PM, "Emmanuel" <email@hidden> wrote:
>
At 9:14 AM +0100 07/03/04, Bernard Azancot wrote:
>
> Thanks everybody.
>
> Your answers were very helpful.
>
>
>
> Now everything works fine... BUT I would like to understand 2 points:
>
>
>
> 1- What is the exact result of the "update desktop " command ? In what case
>
> should I use it ?
>
>
>
> 2- In the "Deleting files" script, if I write:
>
>
At this step, and since you seem to be satisfied with the replies you've got,
>
it would certainly be interesting if you could find a minute telling us how
>
you have it work finally, and for instance whether "update desktop" was of any
>
help.
>
>
Suppose that another listee asks the same question in weeks, and it happens
>
some day when you don't have time to reply - or maybe you're unsubscribed, or
>
maybe still worse - then one of us could relay your experience.
I'm curious too. I also suggested 'update desktop' in the hope that it would
work reliably here, as it often seems to. 'update' is "advertised" as the
command which sets the visible view on your screen to the Finder changes you
have made by script, but I suspect there's more to it than that. It must
save and reconcile the records kept in the file system, or wherever the
Finder goes to look for its data, to the changes you just made in memory,
rather like saving a database (e.g. Address Book's 'save addressbook'
command). So when the Finder moves on to the next command, everything is as
it should be and it can continue with the next step. Or something like that.
--
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.