Page 1 of 1

Accessing key value map

Posted: 21 Nov 2013 19:35
by squan
Hi,
I found the map values ("Mappe Werte") action type to build key value stores.
Now I wonder how is the syntax to access a variable containing such a mapping.
This seems to be completely undocumented.

Does someone know, how one
a) can retrieve a value by its key,
b) get a list of keys to iterate or
c) get a list of values?

Re: Accessing key value map

Posted: 02 Dec 2013 17:23
by Martin
Hi,

This is a special syntax only valid in the action Map Values/Mappe Werte and is not available in regular scripts.
The next update of Automagic will contain some new scripting functions to work with maps. Let me know if the new functions will work for your use case or whether you need some more functions.

Regards,
Martin