Is there a way to get plugin version via Javascript?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.

