Question
How to add custom data type to scripting DOM
Hi All,
I want to add a new data type (eg. MyData) to InDesign scripting DOM, so that a user can create a variable of that type and use it as a parameter in the events.
The custom data type will be used as given below,
---------------------------------------------------------
MyData data;
data["Key1"] = value1;
data["Key2"] = value2;
app.myEvent(data);
---------------------------------------------------------
Regards,
Pete
I want to add a new data type (eg. MyData) to InDesign scripting DOM, so that a user can create a variable of that type and use it as a parameter in the events.
The custom data type will be used as given below,
---------------------------------------------------------
MyData data;
data["Key1"] = value1;
data["Key2"] = value2;
app.myEvent(data);
---------------------------------------------------------
Regards,
Pete
