Copy link to clipboard
Copied
Over in ExtendScript for Premiere Pro (along with After Effects, Illustrator, and InDesign) the function JSX function app.getCCXUserJSONData() returns a variety of properties, including some system IDs, app version, time left on subscription, and other interesting and useful bits of data.
The same function, however, does not work in Audition and Photoshop.
Curious if there is a similar command available.
Copy link to clipboard
Copied
I'll ask the appropriate person. Standby.
Copy link to clipboard
Copied
We currently do not expose this sort of data via ExtendScript.
Though we could put it on teh request list.
However, I would be curious what would you use these data for?
Copy link to clipboard
Copied
We've got a plug-in that behaves differently depending on who logs in. The main goal of IDing the system is to allow users who've logged in once to not have to do so again -- a cookie would be fine, but when last we tried that didn't work. The problem we were having is closing the extension and re-opening, even without re-boot of the computer or re-launch of the app, merely closing and opening the extension within the app forced a fresh log-in.
Copy link to clipboard
Copied
So, if it is just about re/storing a kind of a state then you probably could use the Preferences object. The Preferences object provides you a data space individual for your extension to re/store basic data. The data of the Preferences object is persisted in the Application settings.
Would that help?
Copy link to clipboard
Copied
Sounds like that will do it, yes. How to access that?
Also is that a feature common to the SDKs of Premiere, After Effects, Photoshop, Illustrator, etc?
Copy link to clipboard
Copied
You access it by the property app.localPreferences
The Preferences object itself provides function to get/set values of basic data types.
This is unfortunately Audition only.
Copy link to clipboard
Copied
Thank you Patrick. Very helpful.
Much of the workflow we're developing cuts across multiple Adobe apps, so for our purposes it would be great if the various SDKs were more consistent and coordinated.