Scriptui Button not working in 26.4.1

New Here ,
Aug 22, 2022 Aug 22, 2022

Copy link to clipboard

Copied

I have developed a relatively simple plugin with button click events. It was working fine till I updated the Illustrator till 26.4.1 - now even the simpliest button control objects (ok, cancel or simple alert function) do not work. The function is not called at all.

I don't think anything has changed in ScriptUI, what could that be?

 

example:
```

var b = win.add("button", undefined, "Test");

function alertFunction(e){

    alert(123);

}

b.addEventListener("click", alertFunction);

``` 

TOPICS
Bug , Scripting , SDK , Third party plugins

Views

8

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation