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

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

Recommended Posts

Posted

I am in the need to export files on a regular basis to be picked up by another application on a mac running FM 5.5 or 6.0. When I run a script to export at the moment it overwrites the previous file.

Is there any way to automatically add a serial numbering system to the name of the export file, or a date, or something to distinguish it from the previous file so it doesn't delete the previous one?

Thanks,

Kieron

Posted

Wel, if you, like me, are cheap and don't want to get an extension, you CAN solve the problem without it, using applescript (in other words: free tools!). Conceptually its fairly simple. Have your db do an export to a dummy file name, like tempfile, or something, to the desktop, then, make an applescript that takes the file tempfile of the desktop, and renames it and moves it, naming it the value of some field inside FMPro. Then, just have that field serialize with every export - a much simpler proposition than looking for the number outside FM, somehow

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