It is enum with string key "mode" You can use my tool for reading descriptors...
Otherwise you need to..
- get number of keys in action descriptor
.count
- loop all keys and their names
.getKey(index)
- it returns typeID so you have to use
charIDToTypeID()
orstringIDToTypeID()
and now you should know name of properties inside descriptor - then you can use
.getType(typeID)
and it returns what data type the property is - And finally you can decide if you will use
getString()
orgetEnumerationValue()
or another data type method
https://github.com/jardicc/ActionManagerHumanizer
#include Humanizer.jsx
...
var descriptorContent = Humanizer.descriptorToObject(executeActionGet(ref));
Blend mode enums. Some tools/actions might use only specific enums.