User Tools

Site Tools


manual:Dictionaries

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
manual:Dictionaries [2017/09/04 02:04]
peternlewis
manual:Dictionaries [2017/10/05 23:02]
peternlewis [Dictionaries]
Line 3: Line 3:
 Keyboard Maestro includes permanently stored dictionaries that you can use or set. Keyboard Maestro includes permanently stored dictionaries that you can use or set.
  
-A dictionary is a mapping ​from a key name to a value. ​ You can have multiple dictionaries,​ each with their own name (so really, it is a mapping ​from a dictionary name and a key name to a value).+A dictionary is a set of mappings ​from a key name to a value. ​ You can have multiple dictionaries,​ each with their own name (so really, it is a set of mappings ​from a dictionary name and a key name to a value).
  
 Dictionary names start with a alphabetic character, followed by any number of alphanumeric,​ space or underscores. ​ Dictionary names are case insensitive. Dictionary names start with a alphabetic character, followed by any number of alphanumeric,​ space or underscores. ​ Dictionary names are case insensitive.
Line 10: Line 10:
  
 Dictionary values are plain text and can include leading or trailing white space. Dictionary values are plain text and can include leading or trailing white space.
 +
 +For example, you might have a dictionary named "Shop Prices",​ with keys being the item names and values being the cost of the item.
 +
 +^Dictionary^Name^Value^
 +| Shop Prices \\ Shop Prices \\ Shop Prices| Coffee \\ Cake \\ Drink| 3.45 \\ 5.35 \\ 2.50|
  
 ===== Setting Dictionary Values ===== ===== Setting Dictionary Values =====
manual/Dictionaries.txt ยท Last modified: 2017/10/05 23:02 by peternlewis