setAllowsURIAccess

From RPTools Wiki
Revision as of 22:39, 9 February 2023 by Conversion script (talk | contribs) (Conversion script moved page setAllowsURIAccess to SetAllowsURIAccess without leaving a redirect: Converting page title to first-letter uppercase)
Jump to navigation Jump to search

setAllowsURIAccess() Function

 Note: This function can only be used in a Trusted Macro

Introduced in version 1.10.0
Sets if a Lib:Token allows URI access or not.

Usage

setAllowsURIAccess(value)
setAllowsURIAccess(value, libToken)

Parameters

  • value - 1 for on, 0 for off.
  • libToken - The name of the Lib:Token to check.


If the libToken is not specified it defaults to the current token. Calling this with a non Lib:Token specified will do nothing.


See Also