Platforms to show: All Mac Windows Linux Cross-Platform

Back to JSContextMBS class.

JSContextMBS.FunctionCalled(functionObject as JSObjectMBS, thisObject as JSObjectMBS, arguments() as JSValueMBS, byref JSException as JSValueMBS) as JSValueMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
event JavaScript MBS MacFrameworks Plugin 15.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The event called when your custom function is called.

Please return a value and in case of error set exception.

Some examples using this event:

JSContextMBS.ShouldTerminate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
event JavaScript MBS MacFrameworks Plugin 25.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The event invoked when script execution has exceeded the allowed time limit previously specified via SetExecutionTimeLimit.

If you return true, the timed out script will terminate.
If you return false, the script will run for another period of the allowed time limit specified via SetExecutionTimeLimit.

Within this event, you may call SetExecutionTimeLimit to set a new time limit.

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...