GetResultParameter ( ParameterName )
Extract a value by name from a ScriptResult
Average rating: 4.3 (30 votes) Log in to vote
Will Loving - Show more from this author
Dedication Technologies, Inc.
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This is an extremely minor variation of Daniel Kaan's excellent GetParameter custom function. Daniel's original function allows you to extract a parameter by name from a ScriptParameter. This function is exactly the same except that it works on ScriptResult instead (ScriptResult is a parameter that is specified by the ExitScript step allowing data to be passed back to the original script...essentially the reverse of a ScriptParameter).
Update 2017-Nov-20: Added & "=" to linestart parameter in order to handle parameters that may contain other parameters, e.g. "version" and "version_developer" (Thanks, Stephen).
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.