Hi All,
I have been scripting 2-million lines to have an equivalent field.currentValueIndices where field is a listbox which allows multiple selection.
In fact, field.currentValueIndices can't work because
1) I can't tick "Immediately set value" checkbox because I need multiple selection;
2) I'd like to catch a keystroke-like event i.e. I would like to launch a script as soon as the user selects on one or more of the listbox values (what I also call "realtime script execution");
Now, it seems that Abobe JS API provides all methods and properties needed to self-write a quite complicated script to achieve this. I am speaking of "event.change", "event.modifier", "event.shift", ecc...
However, as said, this is a quite complicated task and I would like to make sure I am not missing something.
For example, is there no way to dispatch a commit event once the mouse is down/up on the listbox so that I can retrieve the old easy field.currentValueIndices property? I see event.rc but it doesn't seem to work. I even tried event.selStart / selEnd but it seems they apply to text fields only.
Thanks for your assistance.