making a new folder
making a new folder
- Subject: making a new folder
- From: Chris Garaffa <email@hidden>
- Date: Thu, 1 Aug 2002 15:27:56 -0400
Hey everyone... Searched the archives but got 2000+ results; can't
justify the time to go through them all.
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"
but get an error "Finder got an error: can't get some object". (Of
course, the make new folder command is in a tell application "Finder"
block. The syntax seems ok (make new folder is in blue, if it matters),
but it gets that error.
I've also tried with a shell script (mkdir), but quoting issues are
holding me back there as well...don't need/want to go there right now.
I noticed Akua Sweets says that they may support OS X in 1.5, but
1.4.something is currently available... I will use an OSAX, as this is
only going to run on one machine.
If this is not possible, would anyone recommend a work-around? I'm
thinking of manually creating an empty folder once, then duplicating it
and renaming it in the script.
Thanks
c.
_______________________________________________
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.