• 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: Set Document Icon from the Command Line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set Document Icon from the Command Line


  • Subject: Re: Set Document Icon from the Command Line
  • From: "Ken Mankoff" <email@hidden>
  • Date: Wed, 11 Apr 2007 12:11:30 -0400

I'm not familiar with LaunchServices. What about using pbcopy to get the icon in the clipboard, then an applescript to do the CMD+I, paste, CMD+W. Would that approach be valid?

  -k.


On 4/11/07, Alexander v. Below <email@hidden > wrote:
Well, you could write a utility to take to the LaunchServices, which usually handle the document icons. 

I am not aware of a built-in command line tool to do this

Alex

On 11.04.2007, at 17:49, Luke Bellandi wrote:

Hi Ken,

Someone on this list may know off-hand, but I'd suggest writing email@hidden -- I think those folks would be the best contact.

- Luke

On Apr 11, 2007, at 8:43 AM, Ken Mankoff wrote:

Hi List,

Is there a way to set the document icon from the command line? I am able to set a folder icon by copying the "Icon^M" file into the directory, but have not found a way to do this for a file/document. I know about the 'hidden' rsrc/ sub-folder attached to every file, and am comfortable using the Rez and DeRez CLI tools, but their man page did not help...

Any suggestions will be appreciated.

Thanks,

  -k.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Set Document Icon from the Command Line (From: "Ken Mankoff" <email@hidden>)
 >Re: Set Document Icon from the Command Line (From: Luke Bellandi <email@hidden>)
 >Re: Set Document Icon from the Command Line (From: "Alexander v. Below" <email@hidden>)

  • Prev by Date: Re: Set Document Icon from the Command Line
  • Next by Date: Re: Set Document Icon from the Command Line
  • Previous by thread: Re: Set Document Icon from the Command Line
  • Next by thread: Re: Set Document Icon from the Command Line
  • Index(es):
    • Date
    • Thread