• 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: Brian Stern <email@hidden>
  • Date: Thu, 9 Nov 2006 16:15:42 -0500

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\""

--
Brian  Stern
email@hidden
 _______________________________________________
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

References: 
 >Re: Setting icon with make file (From: Tron Thomas <email@hidden>)

  • Prev by Date: Re: Creating an NSTimer subclass
  • Next by Date: Re: Filename of audio CDs modified by Finder
  • Previous by thread: Re: Setting icon with make file
  • Next by thread: Re: Setting icon with make file
  • Index(es):
    • Date
    • Thread