• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

app.getCCXUserJSONData() equivalent in ExtendScript/JSX for Audition

Enthusiast ,
Apr 21, 2017 Apr 21, 2017

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.

TOPICS
SDK

Views

1.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Jun 19, 2017 Jun 19, 2017

Copy link to clipboard

Copied

I'll ask the appropriate person. Standby.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 19, 2017 Jun 19, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 19, 2017 Jun 19, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 20, 2017 Jun 20, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 20, 2017 Jun 20, 2017

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 20, 2017 Jun 20, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jun 20, 2017 Jun 20, 2017

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines