(no subject)
(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