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.

Plugin API and Script Result

Featured Replies

I'm wondering if anyone knows if the plug-in API returns the script result when calling a script from a plug-in.   I know you can pass parameters, but I'm wondering if you call a script with a plug-in and that script has an Exit Script[] step in it that includes a script result,  does the API return that script result?

 

I checked several plug-ins that have functions for calling scripts in FM databases and they don't include a function for getting the script result so I imagine the answer is no, but I thought I should ask the question before assuming.

 

I have a long knowledge of using plug-ins, but the API is a mystery to me hence the question.

 

Thanks

 

I don't know the answer (never having tried to write a plugin), but I would like to point out to you that the script result is not a property of any particular script. Script result is a global register that any script can write to (erasing previous contents) when exiting. The contents of the register are accessible at all times by using the Get ( ScriptResult ) function.

  • 3 weeks later...

Plugin calls are asynchronously.

The plugin api puts the script call on a todo list which is done when plugin call finished.

So you have no way to get result as far as I know.

Why aren’t you asking the developer of he Plugin this question too?

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.