Listbox multiple selection & realtime script execution
hi all,
have been scripting 2-million lines have equivalent field.currentvalueindices field listbox allows multiple selection.
in fact, field.currentvalueindices can't work because
1) can't tick "immediately set value" checkbox because need multiple selection;
2) i'd catch keystroke-like event i.e. launch script user selects on 1 or more of listbox values (what call "realtime script execution");
now, seems abobe js api provides methods , properties needed self-write quite complicated script achieve this. speaking of "event.change", "event.modifier", "event.shift", ecc...
however, said, quite complicated task , make sure not missing something.
example, there no way dispatch commit event once mouse down/up on listbox can retrieve old easy field.currentvalueindices property? see event.rc doesn't seem work. tried event.selstart / selend seems apply text fields only.
assistance.
maybe can try explain you're trying achieve, exactly, script.
and hope 2-million lines of codes joke...
More discussions in JavaScript
adobe
Comments
Post a Comment