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

C++ API: How to get the current Illustrator version

Explorer ,
Jan 08, 2024 Jan 08, 2024

Copy link to clipboard

Copied

For the logging and customer statistics  in a Plugin, I need to get the Version of Illustrator the Plugin is running with.

However, I could not find such a command in the C++-API.

Is there a way to get the Version?

TOPICS
SDK , Third party plugins

Views

222

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

correct answers 1 Correct answer

Guide , Jan 08, 2024 Jan 08, 2024

Yes, there's a way and it's very easy fortunately. Use the AIRuntimeSuite (AIRuntime.h) like this:

 

const auto majorVersion = sAIRuntime->GetAppMajorVersion();
const auto minorVersion = sAIRuntime->GetAppMinorVersion();
const auto revisionVersion = sAIRuntime->GetAppRevisionVersion();

 

Votes

Translate

Translate
Adobe
Guide ,
Jan 08, 2024 Jan 08, 2024

Copy link to clipboard

Copied

Yes, there's a way and it's very easy fortunately. Use the AIRuntimeSuite (AIRuntime.h) like this:

 

const auto majorVersion = sAIRuntime->GetAppMajorVersion();
const auto minorVersion = sAIRuntime->GetAppMinorVersion();
const auto revisionVersion = sAIRuntime->GetAppRevisionVersion();

 

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
Explorer ,
Jan 08, 2024 Jan 08, 2024

Copy link to clipboard

Copied

LATEST

Thats what I was searching for, thanks. 

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