I tried to embedded apple script in a link in HTML, but all it does is brought up the Apple Script Editor Application with profiled script in it.
I want it to execute after I click on the link - so I don't have to press the play button.
Can someone help me fix this real quick ?
link.html
<a href = "
applescript://com.apple.scripteditor?
action=new&script=
tell application %22Safari%22%0D%09
make new document with properties {URL:%22https://www.google.com%22}%0D%09
end tell ">
Click me to run the script !
</a>
Result: