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

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

Recommended Posts

  • Newbies
Posted

Hello:

I have a couple of questions regarding FileMaker 4.1 (Mac, of course) and Applescript.

I am trying to extract records from a db where the date in a date field I have set up is equal to the system date, then once I have gotten those records I want it to store in a dynamically named file that is named using the system date.

I have found examples on the FileMaker ftp server but they don't work with the version of the Applescript library that comes with 4.1. How can I make this work using FM 4.1

------------------

Matthew Levy

Web and Applications Developer

AEC Software, Inc.

[email protected]

(800)346-9413 x3037

  • 3 weeks later...
Posted

Though I don't know AppleScript, the job doesn't look tooo hard (famous last words!).

By "the date in a date field I have set up is equal to the system date" do you mean that the date matches the current date? If so that part is easy: perform a find for date=Status[CurrentDate]. The next part might be achieved by perforing an export to a temp file, say temp.txt. The magic would be to create an AppleScript that just remanes the temp.txt file to currentdate.txt, and this would be done by the Finder not FileMaker Pro.

That may be the answer to the problem: get Finder to do the file renaming, not FMP.

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