where can I find JXA documentation with all available classes, functions and parameters? After so far found just random code samples and short tutorials.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The most official source of documentation is the release notes:
https://developer.apple.com/library/content/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/Introduction.html
The WWDC 2014 presentation is also an authoritative source of information:
https://developer.apple.com/videos/play/wwdc2014/306
回答2:
You can find all the JXA details in the various SDEFs (in Script Editor, menu File > Open > Dictionary...), and in the Apple Release Notes for Yosemite and El Capitan.
But here is a complete list of JXA resources you may find helpful: JXA Resources