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?
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();
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();
Copy link to clipboard
Copied
Thats what I was searching for, thanks.