Sorry, I forgot to answer your question. This is a part of my script and the results.
var myProp = 'screensSize';
var myString = 'Hello';
var desc = new ActionDescriptor();
app.putCustomOptions(myProp, desc, false);
alert(app.getCustomOptions('screensSize')); // --> [ActionDescriptor] : [count]'0' [typename]'ActionDescriptor'
alert(app.getCustomOptions('screensSize').getString(0)); // --> ERROR 8500 : property doesn't exist
I'll try with your links.
Sorry, I forgot to answer your question. This is a part of my script and the results.
var myProp = 'screensSize';
var myString = 'Hello';
var desc = new ActionDescriptor();
app.putCustomOptions(myProp, desc, false);
alert(app.getCustomOptions('screensSize')); // --> [ActionDescriptor] : [count]'0' [typename]'ActionDescriptor'
alert(app.getCustomOptions('screensSize').getString(0)); // --> ERROR 8500 : property doesn't exist
I'll try with your links.
By @frmorel
First, you use getString(), but I don't see putString().
Second, don't use 0 for the key(id) argument. more