Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
2

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

Explorer ,
Jan 08, 2024 Jan 08, 2024

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
410
Translate
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();

 

Translate
Adobe
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();

 

Translate
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
LATEST

Thats what I was searching for, thanks. 

Translate
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