setAllowsURIAccess

From RPTools Wiki
Revision as of 12:52, 19 September 2021 by Craig (talk | contribs) (Created page with "{{MacroFunction |name=setAllowsURIAccess |version=1.10.0 |trusted=true |description= Setsif a Lib:Token allows URI access or not. |usage= <source lang="mtmacro" line> getA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
Setsif a Lib:Token allows URI access or not.

Usage

getAllowsURIAccess(value)
getAllowsURIAccess(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