January 7, 200521 yr 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
January 7, 200521 yr 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...
January 10, 200521 yr 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
Create an account or sign in to comment