Re: making a new folder
Re: making a new folder
- Subject: Re: making a new folder
- From: Bill Briggs <email@hidden>
- Date: Thu, 1 Aug 2002 19:29:47 -0300
He'll need the date too.
set todaysDate to (current date)
set {d, m, y} to {day, month, year} of todaysDate
set monthList to {January, February, March, April, May, ,
June, July, August, September, October, November, ,
December}
repeat with i from 1 to 12
if m = (item i of monthList) then
set monthString to text -2 thru -1 of ("0" & i)
exit repeat
end if
end repeat
set dayString to text -2 thru -1 of ("0" & d)
set todaysDate to dayString & "-" & monthString & "-" & y
- web
At 2:53 PM -0700 01/08/02, Michelle Steiner wrote:
This works:
tell application "Finder"
make new folder at "Dora:Users:Michelle:Desktop:" with
properties {name:"Backup 8-01-02"}
end tell
--Michelle
On Thursday, August 1, 2002, at 12:27 PM, Chris Garaffa wrote:
Hopefully, there's a simple answer to a basic question: How do I
create a new folder in MacOS X with AS? Say I'm user filemak, and I
want to create the folder "Backup 8-01-02" on my desktop. I tried:
make new folder at "Data:Users:filemak:Desktop:Backup 8-01-02"
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.