manual:Dictionaries
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| manual:Dictionaries [2021/05/31 07:31] – [AppleScript] ccstone | manual:Dictionaries [2021/10/04 07:24] (current) – [Accessing Dictionary Values] peternlewis | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| Use the [[action: | Use the [[action: | ||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| ===== Accessing Dictionary Values ===== | ===== Accessing Dictionary Values ===== | ||
| You can use the [[token: | You can use the [[token: | ||
| - | {{:token:dictionary-example.png? | + | {{:manual:dictionary_01.png}} |
| + | |||
| + | |||
| + | '' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | '' | ||
| + | |||
| + | {{: | ||
| + | |||
| + | '' | ||
| You can list the dictionaries with the [[collection: | You can list the dictionaries with the [[collection: | ||
| + | |||
| ===== AppleScript ===== | ===== AppleScript ===== | ||
| Line 43: | Line 60: | ||
| set newDict to make new dictionary with properties {name:" | set newDict to make new dictionary with properties {name:" | ||
| + | # If you don't set a key/value pair the newly created dictionary above goes up in smoke. | ||
| tell newDict | tell newDict | ||
| make new dictionary key with properties {name:" | make new dictionary key with properties {name:" | ||
manual/Dictionaries.1622446301.txt.gz · Last modified: by ccstone
