Re: Select folder, make new folder in same directory...
Re: Select folder, make new folder in same directory...
- Subject: Re: Select folder, make new folder in same directory...
- From: Michelle Steiner <email@hidden>
- Date: Mon, 11 Jan 2010 10:05:22 -0700
On Jan 11, 2010, at 4:08 AM, Inge Eidem wrote: I got help making a script for listing up all the files in a source folder to a text document, that tells me that my project is doable, but im not abel to get the rest done without your help.
I'm not sure what you're asking help for here; you didn't explicitly say. But going from the subject of your message, I'm going to assume that you want to create a new folder within a selected folder.
Since you indicated that you will choose the selected folder with a dialog, here's my solution:
run this script:
set chosenFolder to choose folder
When the selection dialog appears, click on "New Folder" in the lower left corner of the dialog. Another dialog appears, letting you name the new folder. Name it and click "Create". Then click "Choose" in the selection dialog.
The script returns an alias to the newly created folder.
-- Michelle
-- "I'll do the best I can do because that's the best I can do!"
|
_______________________________________________
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