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

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

Recommended Posts

Posted

Does anyone know if FM7 has any command line parameters for launching a script at startup? I know this is definable in the preferences but I'm looking to launch a database and have FM automatically do a find operation to locate a record based on a command line parameter. Example:

"filemaker pro.exe" c:databasemydb.fp7 -script dofind[####]

The #### portion of the above example would be a record ID to search for by the script. Once FM was launch and the database loaded, the script would be executed with the specified parameter.

Anyhoo, that's my pipe dream (probably). Anyone know if it's close to being a reality?

Thanks

Posted

You could do that sort of thing in many languages (like TrueBASIC, for instance), but AFAIK we cannot do that in FM--the closest we have is with the choices in File Options. But maybe The Shadow knows...

Posted

You can define a startup script or startup layout when you open the FMP application. Why not use a startup script or goto a layout that asks for the ####. include a script button that performs the find operation and then perhaps displays another layout with the associated data about #####? Its a lot less keystrokes for the user.

See the Edit->Preferences->Document screen.

The Mad Jammer

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