Re: Setting icon with make file
Re: Setting icon with make file
- Subject: Re: Setting icon with make file
- From: Tron Thomas <email@hidden>
- Date: Thu, 09 Nov 2006 22:01:13 -0800
Date: Thu, 9 Nov 2006 16:15:42 -0500
From: Brian Stern <email@hidden>
Subject: Re: Setting icon with make file
To: email@hidden
Message-ID: <p06010200c1794a430822@[192.168.1.101]>
Content-Type: text/plain; charset="us-ascii"
At 7:22 PM -0800 11/8/06, Tron Thomas wrote:
tell application "Finder"
update file "MyHD:Applications:Adobe Photoshop CS2:Plug-Ins:MyPackage"
end tell
I tried copying and touch all sorts of files and folders in the
application bundle and nothing would cause the Finder to update the icon
for the application. I will try the AppleScript command and see how
that works. It seems that if it so difficult for the Finder to
determine when a bundle is updated there should be an explicit and
obvious command that can be issued from the Terminal that would cause
this to happen.
Try this in a shell script or in the Terminal. Replace $1 in the Terminal
with the full posix path to the file/folder to be updated.
osascript -e "tell app \"Finder\" to update posix file \"$1\""
Thanks Brian,
I already figured out that solution before reading your reply. It still
seems like kind of hack to resort to that kind of technique to update
the application bundle icon.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden