Copy link to clipboard
Copied
Hi all,
Is it possible to handle when selection has changed in ExtendScript?
I'd like to do like following code, but I'm not sure the capabilities.
I appreciate any comment or suggestions.
Thank you.
Test code: not working |
---|
#target illustrator testOnChange = function(param){ alert("App selection has changed."); } app.selection.addEventListener("change", testOnChange, false); |
Copy link to clipboard
Copied
Hi,
Illustrator dosen't support selection events.
If you want to trigger such events, You need to make Plugin like HostAdapter.aip and CEP extension that bridge events to Extendscript.
Copy link to clipboard
Copied
Ten A, Thank you very much for the pointer. I'll check into the details.
I've got your link also.
Extension Builder Trial 終了直前特集 - 手抜きLab@DTPの現場
CEP extension is fine for our case. Actually it would be better that no need to think about JSX to CEP.
Thank you
Copy link to clipboard
Copied
Copy link to clipboard
Copied
@Ten A, Thank you very much for the links. I'll check into details.
Copy link to clipboard
Copied
Hi,
I am looking for the same thing, but try to avoid CEP (I have some jsx experience and dont want to learn plugins and EP at the same time. Do you have any pointers for that?
Copy link to clipboard
Copied
no, there's nothing new after Ten's answer 3 years ago