[Need help] Menu item delete

Hello!

IAM on a small Menu for InDesign to make life easier for my co-workers.

Somehow, I do not pay attention for a second and added a new menu item which does not seem to have a name.

Bildschirmfoto 2016-09-05 um 08.39.34.png

I use this code to remove the old entries menu / clear an iam working one before reloading:

main2();

function main2(){
        try{
            app.scriptMenuActions.item("Skripte").remove();
        }
    catch(myException){}
    
    try{
        app.menus.item("$ID/Main").submenus.item("Skripte").remove();
        }catch(e){}
    
    
}

The problem is that it doesn't seem to work if the Menu item does not have a name in itself... any idea on this?

Maybe there is a way to do it by "ID"? Or I am too blind to see what is obvious?

Thanks in advance!

You can try to remove the sumenu index, for example

App.menus.Item("$ID/main"). Submenus [3] .abolish)

If your submenu nameless is the fourth menu. To make sure that you use the correct index, display all submenus of the main menu names. Your name of nameless menu should appear as two commas, as in

File, edit, layout, Type, object, Table, view, window, help, Math

This shows that there is a submenu without name between object and table or a submenu [5].

If this does not work you can always restart InDesign and delete the preferences (Ctrl + Alt + Delete on Windows).

Peter

Tags: InDesign

Similar Questions

  • All my addon options disappeared from my Tools menu. Help menu item does more either.

    Thus, at random, all the options of the addon under the menu bar tools just disappeared on me. I was not yet close FF, it was just instantaneous. A sec I clicked on tools to do something, everything was fine. Then 2 minutes later I clicked on tools again and all my addon options had disappeared.

    I tried to restore my profile with FEBE, but I can't find the option restore because it is not in the Tools menu. Argh!

    In addition, I don't know if it's related, but my point of menu 'help' will not work. I clicked and nothing happens. I tried a second there to list the version of FF I have...

    I'm 99% sure that I have the latest version. Sorry I can't be specific. I also tried deactivation and reactivation so all my addons... and it solves nothing.

    Does anyone have advice?

    It is possible that there is a problem with the files that store the registry extensions.

    Delete the files (extensions.json, extensions.sqlite, extensions.ini) extensions.* and compatibility.ini in the profile folder of Firefox to reset the extensions registry.

    New files will be created if necessary.

    See "extension corrupted files:

    If you see disabled extensions or is not compatible in ' Firefox/tools > Modules > Extensions ' and then click the Tools button at the left end of the search bar to check if there is an update available compatibility.

    If this did not help, then also delete the files addons.json and addons.sqlite possible.

    You can use this button to go to the Firefox profile folder currently in use:

  • need help to program deleted / 32/rundll.exe file system

    need help with deteleted system32/rundll.exe.files

    Hello

    ·         What is the full error message?

    ·         Were there recent changes made on the computer before the show?

    Follow these steps and check if that helps:

     

    (a) put the CD ROM of Windows XP disc into the CD-ROM drive.

    (b) click Startand then click run.

    (c) type expand X: \i386\rundll32.ex_ c:\windows\system32\rundll32.exe in the Open box, where X is the letter of your CD drive.

    (d) restart the computer.

    You can also try System File Checker analysis to repair missing files or damaged in Windows XP.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    http://support.Microsoft.com/kb/310747

  • I need help! Please delete my account

    I need help to cancel my account!  I've tried everything!

    Yes... like appearing on Adobe help pages... 3 second google search.

    Contact the customer service

    Neil

  • I need help to restore deleted apps.thks Advisor

    PLSE help me to restore the deleted apps. I have this marking to start Skype and then refreshed the laptop and I lost apps installed

    Hello Kaushal,

    Thanks for posting your question on the forum of the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    What exactly happened when you say, "this marking to start Skype then the laptop refreshed?

    Thank you for details on the issue.

    Once Windows gets updated, apps that have been installed from DVD and Internet sites are deleted. Get reinstalled the applications provided with your PC and applications that you have installed the Windows store. Windows puts a list of apps removed on your desktop after you refresh your PC.

    For reference:
    How to refresh, reset or restore your PC
    http://Windows.Microsoft.com/en-us/Windows-8/restore-refresh-reset-PC

    You must reinstall any lost applications.

    Please see this link:
    Solve problems with a soft
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    Note: Please see the article "reinstall the application" in the article above.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • I need help making items 11 to recognize my internal mic

    I first items 11 and try to add narration to a clip and elements does not recognize my laptop internal microphone.  When I go to preferences and click on the default device everything that is there is first the WDM components.  The microphone works under windows and is set as the default device.  Any help would be really appreciated.

    Thank you

    mapderf

    mapderf

    What operating system executes your 11 items first.

    When you went looking for your information of microphone, did you specifically

    Change the preferences/Menu/Audio Hardware and click on settings ASIO to discover what has been listed and enabled in the entry.

    Later.

    RTA

  • Need help, move, or delete the file hiberfil.sys and pagefile.sys to reduce the free space in C: drive

    Original title: need assistance to move or delete hiberfil.sys and pagefile.sys

    Is there anyway I can move or remove 2.43 GB hiberfil.sys and pagefile.sys 4.39 GB in a defferent drive because I'm running out of space on my C: drive?  They take so much space.

    See this tutorial to move the swap file, however, I recommend have at least a 900MB

    pagefile on the C: drive to allow the creation of a dump in case of problems with the system file.

    http://www.Vistax64.com/tutorials/132201-virtual-memory-paging-file-change.html

    To delete the hiberfil.sys, you must disable hibernation. It cannot be moved.

    http://www.SevenForums.com/tutorials/819-Hibernate-enable-disable.html

  • Need help recovering notes deleted icloud

    Hello, I'm having a problem where I had a ton of notes on my iPhone 6s and my iCloud started to become full. I went to settings < general < storage & use iCloud < Manage iCloud storage and I deleted my backup of notes so I could have more space on my iCloud. I thought that all my tickets would always remain on my phone but when I went to my notes app everything was gone! Is it possible to recover?

    Thanks in advance! I hope this is the right place to post this.

    ATXAdo wrote:

    ... I deleted my backup of notes...

    Hmmm, it's confusing.

    You are in iOS 9.3.2.  When iOS 9A was introduced, Notes crossed a great upgrade.

    Upgrading of your notes with iOS 9 and OS X El Capitan - Apple Support

    You upgrade Notes?  It doesn't seem like you did.

    Had you upgraded to Notes, you will find folders called 'Notes' and "Recently deleted" after pressing on the "<" symbol in the top left of the Notes application.

    You store your Notes in iCloud?

    Whatever the answer, iCloud notes are not saved (except the deleted Notes above).

  • Urgent need help regarding the deletion of snapshots /... Hilfe bei VMware Snapshots löschen

    Hello

    I have a VM and there is an existing snapshot.

    I chose Delete instead of delete.

    Is the snapshot still consolidate virtual machine or if the changes are lost?

    I mean because it was the last snapshot or sole, both delete and delete all did the same thing.

    Please give me a Feedback.

    See you soon

    Hallo zusammen,

    ICH habe eine VM bei der ein is instant.

    ICH habe alle löschen nur ausgeführt löschen statt.

    Trotzdem die Daten konsolidiert werden? sind oder die jetzt lavaggio verloren?

    Opinion nach, wenn man ein nur meiner hat eventuell beides process snapshot.

    Bitte um Feedback.

    Grüße

    English:

    Don't worry, be happy.

    German:

    Kein Grund zur Sorge. "Löschen" (sowie auch "Alle löschen") means that, dass die Daten eines Snapshots in its Parent gemergt werden disk. BEI einem instant individual die also basic disk.

    André

  • New guy needs help menu added...

    Thanks for any help.  I figured out how to create a title page with scenes, but how do I associate with the movie? I created a movie with a video file in PE8 and I created a title page with the scenes, but when I play the movie in Windows Media Player or similar I do not see the page of the scene. How to combine the two?

    If you burn it to disc or burn to a folder and then use an app. burning like ImgBurn do physical blight in the VIDEO_TS folder, you are right. This disc will play in a DVD player connected to a TV or a DVD player on a computer, with good DVD playback software.

    In the Meadow, this DVD is that you are seen. If you share/Export as an AV file, navigation and all the Menus are not included.

    Good luck

    Hunt

  • How can I disable the menu items using manu, Photoshop cs6?

    How can I disable the menu items using manu, Photoshop cs6?

    I packed Photoshop cs6 using AAMEE CS6.

    I need some menu items to disable.

    can someone please process to do, or what records or files need to edit.

    Enjoy the immediate response.

    Thanks in advance.

    There is another discussion on the same topic: http://forums.adobe.com/thread/1234967?tstart=0

    Perhaps the same company has contracted two of your companies

  • Folder level Javascript executes the Menu item, but not button - need a work around... Help, please

    I have a JavaScript that contains a function of confidence with a SOAP operation inside the confidence function.

    This function is inside a folder level script.

    When calling this function to a menu item, it works fine.

    When I try to add and call this function from a button or a Signature field to the title of JavaScript execution when signed, it will not work and I get an error message.

    What I'm missing and there is a work around, I need to run it from a button or a signature field?

    Any ideas?

    How to run privileged Javascript by a button

    //    1.  Need to put the necessary Javascript inside a function in the Javascripts folder

    //    2.  Javascript must be a function of trust

    //    3.  Add the call to the function of trust to the button

    //

    The Code for the button to execute a script Javascript on the Focus of the mouse is-> Trusted_CustomCode();

    //

    The following example is a JavaScript script at level folder for security reasons

    //

    The example code SHOULD BE wrapped in a function of trust which is part of .js in the javascripts folder

    //

    var Trusted_CustomCode = app.trustedFunction (CustomCode);

    function CustomCode() {}

    app.beginPriv ();

    Insert the custom JavaScript Code here

    App.Alert ("this is my custom Code that is running from a button");

    End of the custom Javascript Code

    app.endPriv ();

    }

  • delete version information for help on oracle applications or disable oracle applications in the R12.1.1 Help menu

    Hello

    For security reasons, I need to delete version information for help on oracle applications or disable oracle applications in the R12.1.1 Help menu

    Thank you

    Hatem

    Hello

    I don't think you can limit the form 'a way'.

    You get less detail so profile ' FND: Diagnostics ' is set on no.

    Kind regards

    Bashar

  • I can't find off the tab on the Help menu in items 9, it won't be dimmed out he isn't here?

    I can't find a tab to disable on the Help menu in items 9, it is not gray, is not there. Could someone help please?

    You need to be in the Photoshop elements Editior to access this option.  But you should see it under the Help menu, as shown in this screenshot.

  • photos were deleted from my phone? !!! need help urgent pls

    So I'll start from the beginning.

    So at the beginning I had 5200 pictures and everything was fine, except that I couldn't take any pictures on Snapchat. So I decided to delete some pictures. Except sometimes just deleted photos would return as 2 seconds. And sometimes I would say 5 photos selected, but I couldn't see anything selected? Or I have to press SELECT again and again.

    at least one forward a few hours and I received on my phone, except that now it says I have only 3600 pictures! I lost a few photos, especially those previously on my phone, then some of the pictures I deleted months ago as last year are back. And I have pictures on my recently removed, but not the ones I lost!

    I feel that my phone is somehow back in time or something.

    And I lost a few photos of a wedding and I regret totally stayed so much (((pls est de toute façon??))

    also, I need help using http://www.ipad-converters.org/recover-photos-from-iphone/ this type also.

    Hello

    When you recharge an iPhone / iPad, it will be saved up to iCloud on wifi you

    Restore the original configuration.

    When configuring back it will ask you if you want to use iCloud backup say yes

    Use the backup of a time where you had all your photos.

    See you soon

    Brian

Maybe you are looking for

  • Delay of receipt of message on MBP with OS 10.11.2

    I'm new to Mac so please, if it's normal, just tell me. After as a reboot, or even leaving messages of suspension does not receive messages "instantly", but after some time (after two hours). Then, everything is normal. To clarify, I have not used me

  • HP Photosmart 7350 printer

    This printer does not print using HP Pavilion g7-1070 laptop with Windows 7. Anyone know if I can download a driver - or what to do to make this work?

  • How to create the Windows EFI boot partition 7 for USB HDD

    I installed Windows 7 x 64 on USB HDD using Imagex and start at the start of the legacy with success. Now, I have to use it on new computers to work with enable EFI boot. I don't want to disable boot EFI in these pc since it is at work, but I can't s

  • ASA 5510 worm. 8.2 (5) access through VPN without client management?

    Hi all I am completely new to networking Cisco and virtual private networks, I'm working on to the ASA 5510 8.2 (5) 46.  Currently, the unit is set up very very little.  Access to the administration are accessible from my home network to 192.168.2.1.

  • How to make an account of subtraction?

    I can't make an account simple subtraction, since options are: sum, product, average, minimum, and maximum.