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

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

Recommended Posts

  • Newbies
Posted

I'm looking for a way to:

1) Show a dialog box to the user allowing for the selection of a location to create a folder.

This is just like SelectFile but with a folder instead of a file. Maybe the user should be allowed to name the folder but this is not crucial.

2) Dump a number of files into that folder.

This is done by FileMaker exports and I already have that part up and running.

3) Zip the folder with all included files.

It may be safe to assume that there are no subfolders within the folder. I seem to have read someplace that the plugin should be able to zip folders but even in the most recent 3.22 version I only seem to be able to do single files.

Just to make things a bit more complicated (or maybe not) it should of course run on Mac OS X as well as Windows.

Is there any way of doing this which I have overlooked?

Best Regards,

André Just Vedgren

ZorDesign ApS

Posted

There is a module named "Choose Folder" which will give you the ability you are looking for.

ScriptMaster currently has the ability to zip individual files, but not folders. We can develop a custom module for you which would be able to do this. Please let me know if you are interested in this and I can get you an estimate for the cost to do this development. You can email me at [email protected].

  • Newbies
Posted

Thanks for the advice on ChooseFolder. I seem to have overlooked that one. However, it doesn't allow the user to create a new folder.

One way of creating a folder is the classic "Export Field Contents" trick where you export a container field containing a zipped folder but it has certain disadvantages like automatically overwriting any previous item at the same location.

Adding the creation of a new folder to the ChooseFolder function would be a nice improvement...

Posted

The ability to create a folder and then select the folder is not something currently supported by the Choose Folder module.

We could write you a custom module which would give you the ability to do this. If you are interested in having us do this, please email me at [email protected] and we can get you an estimate.

This topic is 5496 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.