runJsFunction: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{stub}} {{Experimental}} {{MacroFunction |name=runJSfunction |description= Runs a JavaScript function which is defined in a frame5, dialog5, or overlay. |usage= <source lang...") |
(No difference)
|
Revision as of 07:19, 3 May 2021
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.