Accessing key value map

Post your questions and help other users.

Moderator: Martin

Post Reply
squan
Posts: 5
Joined: 18 Nov 2013 21:14

Accessing key value map

Post by squan » 21 Nov 2013 19:35

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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Accessing key value map

Post by Martin » 02 Dec 2013 17:23

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

Post Reply