Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6963 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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 ?

Posted

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.

Posted

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?

Posted

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 !

This topic is 6963 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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