Help running Applescript through Javascript

Job ID: 34074200

Budget: $50 – $0 USD

I need someone to help me answer this problem. "I want to utilize HTML buttons elements to control the functionalities of Zoom through Applescript code, but I believe that HTML can only run Javascript code. Is there a way to make Javascript execute Applescript code either by writing Applescript code as Javascript, or by running Applescript code using Javascript and shell command osascript?"
Related categories: JavaScript HTML Applescript