runJsFunction
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article describes a feature or macro function that is experimental and may be subject to change.
runJSfunction() Function
Runs a JavaScript function which is defined in a frame5, dialog5, or overlay.
Usage
runJSfunction(name, type, func, thisArg, argsArray)
Parameter
name
- Name of an active frame, dialog, or overlay.type
- Either "frame", "dialog", or "overlay".thisArg
- Value of "this" provided to the function.argsArray
- JSON array specifying the arguments with which the JavaScript function should be called.