This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
manual:Dictionaries [2021/05/31 03:33] ccstone [AppleScript] |
manual:Dictionaries [2021/05/31 04:00] ccstone [Accessing Dictionary Values] |
||
---|---|---|---|
Line 24: | Line 24: | ||
You can use the [[token:Dictionary|%Dictionary%]] token to access Dictionary values. | You can use the [[token:Dictionary|%Dictionary%]] token to access Dictionary values. | ||
- | {{:token:dictionary-example.png?nolink&568|}} | + | {{:manual:dictionary_01.png}} |
+ | |||
+ | |||
+ | ''%Dictionary[Shop Prices, Cake]%'' | ||
+ | |||
+ | {{:manual:dictionary_02.png}} | ||
+ | |||
+ | ''%Dictionary[Shop Prices, %Variable%local_KeyName%]%'' | ||
+ | |||
+ | {{:manual:dictionary_03.png}} | ||
+ | |||
+ | ''%Dictionary[%Variable%local_DictName%, %Variable%local_KeyName%]%'' | ||
You can list the dictionaries with the [[collection:Dictionaries|Dictionaries]] collection, and you can list all the keys within a dictionary with the [[collection:Dictionary_Keys|Dictionary Keys]] collection. | You can list the dictionaries with the [[collection:Dictionaries|Dictionaries]] collection, and you can list all the keys within a dictionary with the [[collection:Dictionary_Keys|Dictionary Keys]] collection. | ||
+ | |||
===== AppleScript ===== | ===== AppleScript ===== |