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

How to activate a script from outside of FMPRuntim

Featured Replies

Here's a tough one...

The brains at filemaker told me both on the phone AND in email that "of course the FMP Dev runtime supports Active X automation."

And that basically I was a fool for wanting confirmation...

Well, I buy it and develop my solution that requires another non FMP program to trigger scripts in Filemaker. (Filemaker then triggers srcripts in other programs with it's results)

The problem is, is that the Runtime does NOT support the active-x running of scripts...

Does anyone know of any way to be able to trigger scripts? Any plug-in ideas? Any way other then the way I'm doing now?

What I do now is have a control script under CTRL-1 in the Script menu. The external program brings up filemaker then sends a CTRL-1 keystroke, then enters in a code into the pop up dialog box then does it's job. The problem is is if Filemkaker runtime is minimized I have to send a RETURN to make it open up. Of course if it's already open it puts up that stupid "you can't type here" box requiring another keypress! If the person is in a field in filemaker it causes yet more grief. The only way I've found to make it work in all cases is pretty darn slow and ugly...

So I'm hoping to make it better and faster.

Thanks

TFM

I sometimes wonder whether those guys at FM are just plain stupid or a pack of liars hyping their product. You don't say what platform you're on, but I'm assuming Windows because of your use of CTRL.

WinBatch can automate running scripts. I have WB doing lots of things Filemaker can't do by itself (for example, bringing up the Windows desktop from within a kiosk). It's got lots of functionality for doing all kinds of things (dialogs, zipping files, popping up a mini-calendar, etc.) See www.winbatch.com

You could also create an FMP database that would run a script in another FMP file. This new file would run a startup script on opening (Edit, Preferences, Document...) that in turn, would run your target script(s).

Steve

  • Author

Yes, I'm on Windows. Sorry.

I'm using VBA as my scripting language. It allows me to control word and any other apps that have active-x automation ports. My issue is controlling Filemaker Runtime from external non FMP programs.

Create an account or sign in to comment

Important Information

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

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.