• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting icon with make file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Authorization code fails in Leopard
  • Next by Date: Re: Creating an NSTimer subclass
  • Previous by thread: Re: Setting icon with make file
  • Next by thread: Problem with IB not control-dragging to make connections
  • Index(es):
    • Date
    • Thread