Article View: adobe.scripting.indesign
Article #1372Re: Restore the default menu
From: 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
Technical Details
Message-ID:
<59b7e44b.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossingReferences:
<59b7e44b.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,a4d11f03cd3fa891 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: Bal�zs_Slemmer@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Restore the default menu Message-ID: <59b7e44b.0@webcrossing.la2eafNXanI> Date: Wed, 11 Feb 2009 23:18:02 -0800 References: <59b7e44b.-1@webcrossing.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Original-Lines: 16