Skip to main content
Inspiring
March 22, 2011
Question

startup plugins set

  • March 22, 2011
  • 1 reply
  • 1085 views

I don't know whether its possible, but here it goes:

I would like to have two application icons of indesign in my dashboard. Kinda like two aliases to the same indesign application. But I want each of them to load a different plugins set upon startup. So "Indesign CS3" should startup Indesign with the default plugins set and "Indesign CS3 company" should startup Indesign with a custom made plugins set. "Indesign CS3" would visually have it's default adobe icon and "Indesign CS3 company" would have a custom made one (lets say the default one but with an orange background).

Is it possible to do this? Is it possible to put some script or command line option into a dashboard icon so that when I press icon A it loads indesign with plugins set A and when I press icon B it loads indesign with plugins set B?

This topic has been closed for replies.

1 reply

Mayhem SWE
Inspiring
March 22, 2011

InDesign CS3 appears to store the active plug-in set in ~/Library/Preferences/Adobe InDesign/Version 5.0/PlugInConfig.txt so all you should need is a simple AppleScript which swaps this file out for one that matches your desired set, then proceeds to start up InDesign. If desired you could also have it verify whether InDesign is already running, ask you to quit it first, etc..

jiggy1965Author
Inspiring
March 22, 2011

I know where to put indesign script which launch automatically upon startup of Indesign. Can it perhaps also be scripted that the 'Configure Plugins' menu is opened? (or any of the default Indesign menu items for that matter)

If I were to put that javascript in the startup scripts folder, at least it would immediately open 'Configure Plugins' upon startup of Indesign. Then I could see which pluginset is selected and if needed change it. Don't mind if I have to restart Indesign then. The point is that I want be be sure I'm working in a specific plugins set.

jiggy1965Author
Inspiring
March 23, 2011

I've found this way to open the 'document setup' window through a script

var maDocSetup = app.menuActions.item("$ID/Document Setup...");

maDocSetup.invoke();

I can access some other menus like this too. So I thought I could use this to open the 'configure plug-ins'  window:

var maDocSetup = app.menuActions.item("$ID/Configure Plug-ins...");

maDocSetup.invoke();

But now I get an error. Don't have a list of acceptable menuactions, so what is the right command to open the configure plug-ins window?