启动从JavaScript的AppleScript [英] Launching applescript from javascript
本文介绍了启动从JavaScript的AppleScript的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能推出从JavaScript一个AppleScript文件在网络浏览器?有人可以给我提供一个code样品,如果它是什么?
Is it possible to launch an applescript file from javascript in a web browser? Can someone provide me with a code sample if it is?
谢谢!
推荐答案
您必须有它的操作系统为特定URL协议和方案的处理程序登记一个AppleScript应用程序。
You have to have an applescript application which registers with the OS as the handler of specific URL protocols and schemes.
请参阅以下链接了解详细信息:
See the following link for details:
http://www.macosxautomation.com/applescript/linktrigger/index.html
这篇关于启动从JavaScript的AppleScript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文