Finding Photoshop Version From Automation Plug-in
Does anyone knows how to determine from within automation plug-in, on which version of Photoshop plug-in is running.
Regards,
Momir Zecevic,
Ars media
Does anyone knows how to determine from within automation plug-in, on which version of Photoshop plug-in is running.
Regards,
Momir Zecevic,
Ars media
Something along these pseudocode lines:
PutProperty(ref, classProperty, keyHostVersion);
PutEnumerated(ref, classApplication, typeOrdinal);
sPSActionControl->Get(pResult, ref);
then pResult->GetObject(keyHostVersion) followed by GetInteger(keyVersionMajor) and GetInteger(keyVersionMinor)
For copy&paste-able code run the Getter plugin and look for keyHostVersion in its output.
HTH
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.