CNS Plug-ins

Event Information

You can gather information about the last script event triggered by MMScript. For example, you can use MMScript_GetScriptEventName to get the Event Name of the last trigger. You can also use MMScript_GetScriptEventValue to get the value of the last trigger. MMScript_GetScriptEventValue is equivalent to using FileMaker’s built in Get ( ScriptParameter ). The function is really only here to help with legacy calculations from our classic SCRIPTit product. Using Get ( ScriptParameter ) allows you to create more flexible scripts that can be used from different starting points.

You can get a list of current script events with the MMScript_ListScriptEvents function.