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

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

Recommended Posts

Posted

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

 

Posted

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

This topic is 3725 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.