isExternalMacroAccessAllowed: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page isExternalMacroAccessAllowed to IsExternalMacroAccessAllowed without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page IsExternalMacroAccessAllowed to isExternalMacroAccessAllowed: Converting page titles to lowercase)
(No difference)

Revision as of 23:34, 9 February 2023

isExternalMacroAccessAllowed() Function

Introduced in version 1.5.0
Returns true(1) if the client is configured to allow external macro access (see Allow External Macro Access in MapTool Preferences). When enabled, this allows the use of other macro functions such as exportData().

Usage

isExternalMacroAccessAllowed()

Examples

1. Test to see if the current client can access external resources from macros.
This client has external access [r,if(isExternalMacroAccessAllowed()): "Enabled"; "Disabled"]