-
1. Re: How to give a shortcut to script panel item in indesign CS3 using VB Script
La0s Nov 16, 2009 4:45 AM (in response to prakkanam)Prakkanam, this is not the ansver.
But i guess that you could be helped by this example even if it is in JavaScript:
Build Menu Item at ExtendScript Support by Jon S. Winters
This is both some simple and some complex code to construct a menu item in a menu.
One advantage of what this does is that it creates a stand alone script in the Scripts Panel folder that can be used to Assign a Keyboard Shortcut to a custom menu item -- something normally not possible.http://extendscript.blogspot.com/2009/10/build-menu-item.html
-
2. Re: How to give a shortcut to script panel item in indesign CS3 using VB Script
prakkanam Nov 16, 2009 5:16 AM (in response to La0s)Thanks for the reply.
But I dont want to add a new menu item for this.
I just want to assign shortcut an existing script in scripts panel
and that too from my VB application.
-
3. Re: How to give a shortcut to script panel item in indesign CS3 using VB Script
La0s Nov 16, 2009 7:03 AM (in response to prakkanam)It was a sample of how you can do this. No need to add a new menu item...
In the sample the author creates or edit the shortcut file that InDesign uses for storing shortcuts.
It is in XML format and named with the extension ".indk" in the folder "InDesign Shortcut Sets"
That is the only way to do this, as far as i know, without writing a plug-in.
If it realy works in your case, i dont know.
-
4. Re: How to give a shortcut to script panel item in indesign CS3 using VB Script
prakkanam Nov 16, 2009 7:53 PM (in response to La0s)Thank you so much.