How can I get the reference of the UI button?

ui.png

script.png

How can I get the createBtn to connect to the pathBtnFunc for she service?

I know that my code is wrong, can someone tell me the correct way?

Thank you!

I just noticed this. You must set the onClick function before the line win.show (). All user interface control functions should be in the code that creates the user interface.

Tags: Photoshop

Similar Questions

Maybe you are looking for