09-15-2018, 01:26 PM
After following Hot Door's advice on checking versions on startup, it dawned on me that I could take it one step farther and address the occasions where there's a new version of Illustrator that may be compatible with the plugin. This is especially helpful when a new version of Illustrator has just been released, but we can't update our plugins until a CORE update is available, and an existing version of our plugin works (or works well enough for a temporary workaround) in the new Illustrator release.
On startup, my plugins compare their compile version with the host app's, and if the host is newer it checks for a saved preference that addresses that situation. If there is no preference, it displays a dialog warning the user of the incompatibility and offers a choice of ignoring the plugin or loading it anyway. It then responds accordingly and saves the setting.
I hope that's useful to others!
On startup, my plugins compare their compile version with the host app's, and if the host is newer it checks for a saved preference that addresses that situation. If there is no preference, it displays a dialog warning the user of the incompatibility and offers a choice of ignoring the plugin or loading it anyway. It then responds accordingly and saves the setting.
I hope that's useful to others!