• 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: Need an icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need an icon


  • Subject: Re: Need an icon
  • From: Martin Michel <email@hidden>
  • Date: Wed, 26 May 2010 20:24:42 +0200

Hi Jeffrey,

Some time ago I wrote a small tool to set an image as the icon for a certain file/folder, of course it also works with icns files. The name of the tool is a bit weird, but maybe you can use it:

http://macscripter.net/viewtopic.php?id=31683

Best regards,

Martin

Am 25.05.2010 um 19:40 schrieb email@hidden:

Hello Scripters,

I am trying to create a script that will create a folder called "Tools" in the Utilities folder with an icon I designed. If the folder already exists the script will do nothing but end. The part I'm having difficulty with is adding the icon. The icon would not exist on the Mac previous to this script running so how do you reference it and then make it the icon for the new "Tools" folder. I have copied what I have so far, any help would be much appreciated.

set x to path to utilities folder
set y to x & "Tools" as string
tell application "Finder"
        if exists y then
        else
                set y to make new folder at x with properties {name:"Tools"}
        end if
end tell


 _______________________________________________
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

  • Follow-Ups:
    • Re: Need an icon
      • From: Luther Fuller <email@hidden>
References: 
 >Need an icon (From: email@hidden)

  • Prev by Date: AppleScript
  • Next by Date: Another Applescript noob
  • Previous by thread: Need an icon
  • Next by thread: Re: Need an icon
  • Index(es):
    • Date
    • Thread