• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: email@hidden
  • Date: Tue, 25 May 2010 12:52:37 -0500

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



Jeff Madson • Macintosh Systems Engineer • RR Donnelley Desktop Engineering
 _______________________________________________
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: (no subject)
      • From: Luther Fuller <email@hidden>
  • Prev by Date: [ANN] ModuleLoader 2.2
  • Next by Date: Re: (no subject)
  • Previous by thread: [ANN] ModuleLoader 2.2
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread