User Tools

Site Tools


manual:Variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:Variables [2018/03/13 22:49]
JMichaelTX [Using Variables in Scripts]
manual:Variables [2018/03/13 23:15]
ccstone [Variables]
Line 6: Line 6:
 | **Global**, Permanent variables | • Available Everywhere, including Scripts and Preferences. | | **Global**, Permanent variables | • Available Everywhere, including Scripts and Preferences. |
 | **Password**,​ Permanent variables | • Available to macros but not displayed.\\ • Not directly accessible via AppleScript.\\ Displayed in password fields in Prompt For User Input actions. | | **Password**,​ Permanent variables | • Available to macros but not displayed.\\ • Not directly accessible via AppleScript.\\ Displayed in password fields in Prompt For User Input actions. |
-| **Instance** Variables (v8+) | • Restricted ​ to a specific execution sequence.\\ • Available to Macro where it was createdAND Sub-Macros ​in that Macro, for a given execution instance of the main macro.\\ • So these Variables are private to each execution of the same Macro, even when running simultaneously.\\ • Available to [[action:​Prompt_for_User_Input|Prompt For User Input]]\\ • As of v8.0.3, is available to scripts (when used in an Execute Script Action), [[action:​Custom_HTML_Prompt|HTML Prompt]] |+| **Instance** Variables (v8+) | • Restricted ​ to a specific execution sequence.\\ • Available to the Macro where it was created AND Sub-Macros ​of that Macro, for a given execution instance of the main macro.\\ • So these Variables are private to each execution of the same Macro, even when running simultaneously.\\ • Available to [[action:​Prompt_for_User_Input|Prompt For User Input]]\\ • As of v8.0.3, is available to scripts (when used in an Execute Script Action), [[action:​Custom_HTML_Prompt|HTML Prompt]] |
 | **Local** Variables (v8+) | • Restricted to Macro where it was created\\ • //Not// Available to any of its Sub-Macros\\ • Available to [[action:​Prompt_for_User_Input|Prompt For User Input]]\\ • As of v8.0.3, is available to scripts (when used in an Execute Script Action), [[action:​Custom_HTML_Prompt|HTML Prompt]] | | **Local** Variables (v8+) | • Restricted to Macro where it was created\\ • //Not// Available to any of its Sub-Macros\\ • Available to [[action:​Prompt_for_User_Input|Prompt For User Input]]\\ • As of v8.0.3, is available to scripts (when used in an Execute Script Action), [[action:​Custom_HTML_Prompt|HTML Prompt]] |
 | **[[manual:​Dictionaries|Dictionary]]**,​ Permanent, global in scope. | • Available Almost Everywhere, including Scripts, but //not// Preferences.\\ • Dictionaries consist of the //​Dictionary Name//, One or more pairs of //Key Name//, and //Value//\\ • Although Dictionaries are like //​Variables//,​ they are kept in a separate category called //​[[manual:​Dictionaries|Dictionaries]]//​. | | **[[manual:​Dictionaries|Dictionary]]**,​ Permanent, global in scope. | • Available Almost Everywhere, including Scripts, but //not// Preferences.\\ • Dictionaries consist of the //​Dictionary Name//, One or more pairs of //Key Name//, and //Value//\\ • Although Dictionaries are like //​Variables//,​ they are kept in a separate category called //​[[manual:​Dictionaries|Dictionaries]]//​. |
manual/Variables.txt · Last modified: 2023/09/29 04:44 by peternlewis