How to run and action in UXP plugin

@karpiyon Check my update on that thread, hope this can help you.
https://forums.creativeclouddeveloper.com/t/execute-a-script-via-a-button/3699/16?u=wanokuni