Panoram, AppleScript and JXA


#1

Since Panorama is apple scriptable, is it also Java scriptable using Apples Java Script for Automation?


#2

I believe so, but I have no experience with JXA.


#3

I found this info at: https://developer.apple.com/library/archive/releasenotes/InterapplicationCommunication/RN-JavaScriptForAutomation/Articles/OSX10-10.html#//apple_ref/doc/uid/TP40014508-CH109-SW1

Scripting Dictionaries

Scripting dictionaries detail the object model of applications. Terminology in scripting dictionaries maps to valid JavaScript identifiers by following a set of conventions. The Script Dictionary viewer in Script Editor has been updated to show terminology in AppleScript, JavaScript, and Objective-C (Scripting Bridge framework) formats. To open a scripting dictionary, launch Script Editor (in /Applications/Utilities/ ) and choose File > Open Dictionary or Window > Library.

This indicates that all the regular AppleScript objects can be converted to JavaScript objects for use in Java Script for Automation.