Create a folder with AppleScript

macrumors newbie

I know very little about AppleScript but I need to make a script to create folders on a server.

Here is what I am looking to occur:

- Check a sharepoint for a folder named %username% (where username is a 5 digit number)
- If the folder is there, mount it
- If the folder isn't there, create it, call it %username%.
- mount the newly created folder

macrumors Pentium

I know very little about AppleScript but I need to make a script to create folders on a server.

Here is what I am looking to occur:

- Check a sharepoint for a folder named %username% (where username is a 5 digit number)
- If the folder is there, mount it
- If the folder isn't there, create it, call it %username%.
- mount the newly created folder

License to above code : Use it and you owe me 50000$ dollars as a consulting fee. This offer does not extend any warranties or garanties that the above will not awfully break any of your production servers or clients and I am fully discharged of any damages that might result in proper or misuse of this code.

thread startermacrumors newbie

thank you so much for your help, but I really have no clue how to impliment those items of code.

So far I have an Applescript that checks for a folder on a mounted volume, I am just looking for the code to create a folder in the event the folder is not there, then I would like a finder window to open with that folder!

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.