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

Is there a way to get plugin version via Javascript?

Community Beginner ,
Aug 09, 2013 Aug 09, 2013

Hi,

I'm trying to find a way to make it easier for our customers to provide us bug report information, so I thought that a small script that could provide OS, InDesign and our own plugin extension versions would be a good idea.

I can get the version strings for the OS and ID, but is there a simple way (without having to provide a C++ interface) to get the version string of a plugin using javascript?  Is there a collection of extensions somewhere that I can look at?

Obviously customers could go through the help menu->About Plugins, but I am trying to make this as simple as possible!

Thanks,

Daniel Tate.

TOPICS
Scripting
547
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
Contributor ,
Aug 09, 2013 Aug 09, 2013

Only if the plug-in provides the information by extending the object model with a property -- at least, I believe that's the case. I've not seen many that do, but then, I've not looked.

Dave

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
Advisor ,
Aug 09, 2013 Aug 09, 2013

mostly what Dave said.

however you can fake it a bit.. when creating a package you have the option of generating a report that includes a list of external plugins. that might help. realy simple if your plugin files use a name_version.PLN nameing scheme. if not, i guess you can open the pln file in javascript and look for the version string in it.

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
Community Beginner ,
Aug 09, 2013 Aug 09, 2013
LATEST

Ah, ok, thanks.  I'm looking at expanding our interface to include a get version method, I think that's probably the best way to go.

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