Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

creating file copies

Featured Replies

I don't think I can do this in FM, so hope there is a plug-in for it.

I have a runtime solution with 6 files (8.5adv). Users want to back it up off their hard drive. Some to a cd, some to memory sticks. There are lots of options.

If I use 'Save a copy' in an FM script, I believe they would have to specify the destination 6 times - once for each file. Not very elegant.

Is there a way to have them specify once the device they want the backup to go to and then use that as a parameter or something in 'save a copy' or some other routine?

TIA

Why can't you use the Save a Copy as script step? And if you wanted the path to be chosen by the users you could use MooPlug (http://mooplug.com) to sho a dialog to choose where, then call Save a Copy as script step with the variable as the path

Tomp use OS X ! He can’t use Your Plugin - Can He?

Ino

Oh yea sorry my bad, hadn't noticed that.

I haven't got a OS X version of MooPlug yet no, but it definatley is planned!

You don't really need a plug-in on a Mac, because AppleScript has all these commands, either interactive (choose folder) or run without interaction. It can return data to a FileMaker global field, if needed to complete a path.

But personally I don't see why they neeed to backup directly to a remote hard drive using Save A Copy As. They could Save a Copy As to a local relative path, then use a plug-in or AppleScript to copy those files to the remote hard drive; kind of a double backup. The advantage is that it ties up FileMaker for a little less time. It would require a little more work however.

  • Author

I guess I'm confused.

Applescript does not support copy/move to my knowledge, and when specifying the file path for the 'save a copy' script step, you have to enter the actual path - not a field containing the path value or a script parameter.

Is there a way to make Applescript do the move/copy on the files?

It would be great to 'save a copy' to a fixed location and then invoke an applescript to ask where they want to put the back up and move the files there.

Applescript does not support copy/move to my knowledge

Sigh! - This thread will give some of the answers:

http://www.fmforums.com/forum/showtopic.php?tid/189208/fromsearch/1/tp/0/all/1/

--sd

As others have noted, AppleScript certainly can manipulate files -- but in response to your original question, yes there are plugins such as Troi File or 24U SimpleFile that make it very easy.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.