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

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

Recommended Posts

  • Newbies
Posted

Does anyone know how I would go about telling applescript which version of FM to open up. As far as I can tell, it opens up the version that was installed most recently, but I'm not sure if this is the case. Any help is appreciated.

  • Newbies
Posted

After a bit more testing, it seems like applescript selects whichever version of Filemaker was last started, even if you point it to a different version. Any help on figuring this out is welcome.

Posted

Yes indeed, that's the case. I had so many versions of FileMaker Pro and FileMaker Developer on my machine (in both OS 9 and X) that AppleScript got confused. Now I only run X, so there's less problem. It always helps to have the application running first.

You can rename the application files themselves; but rename the earlier version that you will no longer be updating (updaters may fail if the app is renamed; I don't know).

The main thing I use AppleScript for is to open files with the correct password, especially when I'm doing something involves opening and closing repetitively. I create a droplet (application) to do that. Notice the password syntax is different in 7.

For pre-7:

on open (theFiles)

Posted

Launch application file id "FMP7" launches an application whose ID (not name) is FMP7.

The ID is also known as the creator code. You can see this value if you look at the file for instance with Super Get Info.

In past versions of the Mac operating system, ALL files had a creator code and type code. Both codes are 4-character. Files in OSX do not necessarily have type and creator codes.

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