.. _global: ================================================ global ================================================ Description ----------- The global methods and properties for ExtendScript. Properties ^^^^^^^^^^ +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`Infinity` readonly | The Infinity global property is a predefined variable with the value for infinity. | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`NaN` readonly | The NaN global property is a predefined variable with the value NaN (Not-a-Number), as specified by the IEEE-754 standard. | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ | :ref:`undefined` readonly | This global property is a predefined variable with the value for an undefined value. | +---------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+ Methods ^^^^^^^ +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`alert` readonly | Displays an alert box | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`confirm` readonly | Displays an alert box with Yes and No buttons; returns true for Yes | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`decodeURI` readonly | Decodes a string created with?encodeURI(). | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`decodeURIComponent` readonly | Decodes a string created with?encodeURIComponent(). | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`encodeURI` readonly | Encodes a string after RFC2396. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`encodeURIComponent` readonly | Encodes a string after RFC2396. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`escape` readonly | Creates a URL-encoded string from aString. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`eval` readonly | Evaluates its argument as a JavaScript script, and returns the result of evaluation. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`isFinite` readonly | Evaluates an expression and reports whether the result is a finite number. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`isNaN` readonly | Evaluates an expression and reports whether the result is "Not-a-Number" (NaN). | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`isXMLName` readonly | Returns true if the supplied string is a valid XML name. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`localize` readonly | Localizes a ZString-encoded string and merges additional arguments into the string. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`parseFloat` readonly | Extracts a floating-point number from a string. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`parseInt` readonly | Extracts an integer from a string. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`prompt` readonly | Displays a dialog allowing the user to enter text | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`setDefaultXMLNamespace` readonly | Defines the default XML namespace. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`unescape` readonly | Translates URL-encoded string into a regular string, and returns that string. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ | :ref:`uneval` readonly | Creates a source code representation of the supplied argument, and returns it as a string. | +-----------------------------------------------------------------------+--------------------------------------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 global/NaN.rst global/Infinity.rst global/undefined.rst global/encodeURI.rst global/encodeURIComponent.rst global/decodeURI.rst global/decodeURIComponent.rst global/escape.rst global/eval.rst global/uneval.rst global/isFinite.rst global/isNaN.rst global/parseInt.rst global/parseFloat.rst global/unescape.rst global/localize.rst global/isXMLName.rst global/setDefaultXMLNamespace.rst global/alert.rst global/confirm.rst global/prompt.rst