Re: problem with finder sync
Re: problem with finder sync
- Subject: Re: problem with finder sync
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 04 Sep 2009 09:16:01 -0700
- Thread-topic: problem with finder sync
Title: Re: problem with finder sync
'update' command exists.
--
Paul Berkowitz
From: Alex Ivanov <email@hidden>
Date: Fri, 4 Sep 2009 00:25:46 -0700 (PDT)
To: AppleScript-Users <email@hidden>
Subject: Re: problem with finder sync
Thanks,
I've put a pretty big delay, 15 seconds to be sure, and it works but I'm not very happy with this solution. An "update" finder command if existed would have been better though.
--- On Thu, 9/3/09, Matt Neuburg <email@hidden> wrote:
From: Matt Neuburg <email@hidden>
Subject: Re: problem with finder sync
To: "Alex Ivanov" <email@hidden>
Cc: email@hidden
Date: Thursday, September 3, 2009, 9:58 AM
On Thu, 3 Sep 2009 04:20:35 -0700 (PDT), Alex Ivanov
<email@hidden <http://us.mc1111.mail.yahoo.com/mc/compose?to=email@hidden> > said:
>Hi,
>
>I've used applescript to create an alias for an app I've just copied to disk.
>I've uded first: cp -Rf my.app
>and then: tell application "Finder" to make alias file to alias ...
>
>This sometimes works, sometime it doesn't meanung the alias doesn't get created
every time...
>
>I suspect the finder doesn't "know" yet about the file being copied to the
harddisk since I've used an Unix command. Is there a way to notify Finder to
"update" somehow its files list?
You mean like the Finder's "update" command? That is what I would try.
By the way, I'm not finding the Finder faster at self-updating from changes
in Snow Leopard. If anything it's slower. I copy an app, the copy finishes,
but the icon does update properly until like five seconds later. I select
files and delete them, nothing happens for a few seconds, then they finally
head off to the trash.
So it may be that you need to introduce a "delay" into the script... m.
--
matt neuburg, phd = email@hidden <http://us.mc1111.mail.yahoo.com/mc/compose?to=email@hidden> , <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden