Re: problem with finder sync
Re: problem with finder sync
- Subject: Re: problem with finder sync
- From: Matt Neuburg <email@hidden>
- Date: Thu, 03 Sep 2009 09:58:01 -0700
- Thread-topic: problem with finder sync
On Thu, 3 Sep 2009 04:20:35 -0700 (PDT), Alex Ivanov
<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://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