Thread View: adobe.scripting.indesign
2 messages
2 total messages
Started by senthil_nagore
Thu, 12 Feb 2009 06:53
Restore the default menu
Author: senthil_nagore
Date: Thu, 12 Feb 2009 06:53
Date: Thu, 12 Feb 2009 06:53
11 lines
780 bytes
780 bytes
Hi all, I remove the save and save as menu item (PC) from file menu using app.menus[0].menuElements[0].menuItems[3].remove(); app.menus[0].menuElements[0].menuItems[4].remove(); Now i can't restore it back. help me plz. Thanks Senthil.C
Re: Restore the default menu
Author: Bal�zs_Slemmer
Date: Thu, 12 Feb 2009 07:18
Date: Thu, 12 Feb 2009 07:18
12 lines
1196 bytes
1196 bytes
Hi!
The fastest way: start indesign pressing down ctrl+alt+shift. But this way all your presets and other customizations are going to be deleted too.
The other way: use menuItems.add(associatedMenuAction, at, reference) on app.menus.item('Main').submenus.item('File')
associated menuaction is app.menuActions.item('Save') (or Save As...)
at should be LocationOptions.AFTER
and for reference: app.menus.item('Main').submenus.item('File').menuItems.item('Close')
In case of CS3; I don't know about the scripting of other versions.
Bal�zs
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads