Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Execute FM script from command line

Featured Replies

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

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...

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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.