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.

Featured Replies

Hi all friends

can someone explain me this new function of FM8 ?

Also , with event script, can I fire a script and have this result in the calc field ?

Something like:

S4HU_EventScript( Get(FileName) ; "MyScript" ;"")& Get(scriptResult)

If it's possible, can you make an example for me ?

This function is used together with the Exit Script script step, where you now have the option to specify the result. See the help on Exit Script for explanation and example.

As with most Get() functions, much depends on the time of evaluation. Script result is created by exiting a script, and Get (ScriptResult) has no value if there is no other script running at the time of evaluation. So I don't think your example would work.

Nor is there any need for this, because you can set the field directly by the called script, or use a global variable that will persist after the script has run out.

  • Author

Thank you comment.

So, if I understood you correctly, if that command was inside a custom, you'll get nothing !?

Oh, you might get SOMETHING, it depends. But I doubt you'll get anything USEFUL.

For example, if an unstored calc field has the formula, AND there is a second script that receives the results, AND there is a Refresh Window step - then the field will show the script result - until you click into it, or otherwise refresh the screen again.

Is this a solution looking for a problem?

  • Author

Yes and No.

I only wished to know if I can fire a script with S4H from a custom, make something and return the result of what I maked to the custom...

Something that can GO and COME BACK !

I believe this is possible using a global variable.

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.