Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2550 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a script that save documents (Quotes, Invoices, Purchase Orders) to the user's documents folder. My script returns an error if the folders don't exist in the file save document path. Is there a way to auto-create missing folders? I need a solution for both Mac and Windows. Thanks.

For example: 

~user/documents/Company Docs/Quotes
~user/documents/Company Docs/Invoices
~user/documents/Company Docs/Purchase Orders
Posted

A plugin is probably the most convenient way to handle this, but you can also use OS-level scripting (Send Event[] on Windows and Perform AppleScript[] on OS X).

 

Another option is to export zipped folders from a container - but this will overwrite the existing ones (and their contents!) if they are already in place.

Posted

A plugin is probably the most convenient way to handle this, but you can also use OS-level scripting (Send Event[] on Windows and Perform AppleScript[] on OS X).

 

 

+1

 

For simple tasks like creating a folder I would no go use a plugin; unless you already have the plugin for other reasons.  This is really simple OS-scripting.

  • 2 years later...

This topic is 2550 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.