Insert menu item behaviour

I recently contacted NI support about a -bug report regarding the documentation of the function "Insert menu item".
It declares int he help that the values for "Item Name" is the string which appears in the menu and "Item Tag" is the unique Identifier for the menu item.  If only Tag is wired, the names are created automatically otherwise they take the values input on the terminal "Item Names".
I was a bit surprised when a bit of my code behaved differently than I had expected.  Apparently an empty string for "Item Name" is NOT created, even if I provide a perfectly valid "Item Tag".
I think this kind of thing needs to be mentioned in the help.  I don't want the behvaiour changed because it's actually a cool feature for what I'm doing but I can't reconstruct the real behaviour of the node from the help alone......  Nowhere is the difference in handling of an empty string as opposed to a non-empty string even mentioned.
Am I being too pedantic on this?
Shane
Say hello to my little friend.
RFC 2323 FHE-Compliant

Hello Shane,
Concerning the Empty String Item Name that doesn't get created.
Did you get in touch with an Applications Engineer about that?
Because at my side (in 2014) it does seem to get created. 
Or am I misunderstanding the test you are doing?
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo.
Attachments:
TestOfInsertMenuItem.vi ‏9 KB
ScreenCapture.PNG ‏39 KB

Similar Messages

  • Why does DW disable insert menu items?

    This must be a configuration option someplace, but in general, why would DW disable Insert menu items?
    I am in .cfm file, in clearly an unlocked area of a page where I should be allowed to insert hyper links, email links, horizontal rules, images, tables.  But on the Insert menu, each of those items is disabled (and others, but you get the point).  Since the insert menu items are disabled, the keystroke shortcuts for those actions don't function.
    I can manually type in these tags, and I can insert them from the Insert window.
    I start a brand new .cfm page, and the insert menu is fine.
    It appears DW is examining the code and deciding [INCORRECTLY] what is appropriate to insert via the menu.
    Thanks for any insight provided.

    > Dreamweaver is putting the PHP href code (<a
    href="../st_vimmel.php"> code
    > </a>) not me?
    That's plain HTML, not PHP, and DW doesn't do that - really.
    > Can Flash also fix the <embed> tag (take away) as
    the W3C HTML validator
    > don't
    > accept this tag?
    DW's javascript solves that problem.
    > I fixed the problem flash image with a workarround code
    for the moment:
    *DON'T DO THAT*
    Leave DW's code alone.
    > To get away from all the javascript and other code that
    could be the
    > problem.
    It is not the problem, most likely - but tell us what the
    problem was.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Magooi" <[email protected]> wrote in
    message
    news:edie10$529$[email protected]..
    > Dreamweaver is putting the PHP href code (<a
    href="../st_vimmel.php"> code
    > </a>) not me?
    >
    > Hmm, where do I put the href i Flash?
    >
    > Can Flash also fix the <embed> tag (take away) as
    the W3C HTML validator
    > don't
    > accept this tag?
    >
    > I fixed the problem flash image with a workarround code
    for the moment:
    >
    >
    quote:
    <object type="application/x-shockwave-flash"
    > data="/images/banners/25000.swf" width="438"
    height="280">
    > <param name="movie"
    value="/images/banners/25000.swf">
    > <param name="quality" value="high">
    > </object>
    >
    > To get away from all the javascript and other code that
    could be the
    > problem.
    > My side is a bit complex with PHP/MySQL and many
    javascripts so I think
    > there
    > was a conflict with my admin system using MySQL or
    something.
    >

  • Can't find "Endnote Citation" in the INSERT menu item

    I wanted to insert a citation or bibliography in my report using Pages but I can't find the feature in Pages to do this.  From the help, it stated going to INSERT then select "Endnote Citation" but in my Pages, under the INSERT menu item, I can't find "Endnote Citation". 
    I am using Macbook Air 2010, and Pages 09.  Please help.
    8irons

    Apple includes download links to some very useful documentation with each of the iWork '09 applications. You'll find it in the Help menu. Each User Guide is a searchable PDF document packed with useful information on using the application.
    On page 52 of the Pages '09 User Guide, the topic of Footnotes and Endnoted is discussed:
    Adding and Editing Footnotes and Endnotes
    In a word processing document, you can add special marks (numbers or symbols)
    that link to notes at the bottom of a page (footnotes) or at the end of a document or
    section (endnotes).
    You can’t mix footnotes and endnotes in a document, but you can convert notes from
    one type to the other.
    (emphasis added)
    The Footnotes menu item in the Insert menu serves to insert markers for either type of note.
    Regards,
    Barry

  • Insert Menu Item with underscore

    When I insert menu items that have underscores it underlines the previous letter rather than showing underscore. How do I fix this problem?

    Are you trying to get a menu item to be selected by an Alt key combination? Placing an underscore "_", before any letter in the Item Name will cause an underscore to appear under the subsequent letter (not previous) and allow Alt + the underscored letter to active that menu item. For example, J_unk will appear as Junk with an underscore under u and ALT + u will activate the Junk menu.

  • Insert menu item blank in sequence editor for new sequence

    In TestStand 2.0.1, when I create a new sequence file using the sequence editor and right-click to insert a step, the Insert menu is greyed out.
    If I open an existing sequence file, copy a step from it, and paste it into the empty sequence, then whatever that step was (let's say Action) becomes available on the Insert menu.
    Is there any way to fix this other than re-installing TestStand? Any idea why this is happening?
    Thanks,
    Gizmogal

    Hi,
    This sounds like you have a problem with your type Palette files in sowe way.
    Check out if you can read the ini files found in teststand\cfg\TypePalettes.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Menu Items Behaviour

    Hi guys, I am new at using Dreamweaver and I want to create a
    help menu in Dreamweaver by using a drop down menu & when
    selecting an item from the menu have a little discription come up
    underneath the drop down menu. The copy that will appear I'm going
    to make appear by using layers and there visibility shown/hide
    behavior. My question is: How can I assign each item on the list
    individually so that I can apply a behavior to it? I hope this
    makes sense and that you'd be able to help me!
    kisses from dandelion designs

    Hi, I think this may be what you're looking for:
    http://www.thescripts.com/forum/thread705116.html
    (Note the correction in that thread )

  • Various Menu items greyed out

    Most of the Insert menu items are not available. I'm in
    Design view, place the cursor in a table cell (for example) and go
    to Insert > Image and it's grayed out. So are most of the other
    items.
    Note, that this only affects certain documents. If I create a
    new document and repeat the process, things work fine. This
    existing ASP page is giving me the trouble.
    Using Dreamweaver CS4 / Mac OS 10.5
    I should also add that this problem page isn't a template, so
    it's not an editable region thing.
    Any ideas?

    Start by backing up the user/Library/Application Support/Addressbook folder.
    In that folder is a file called AddressBook-v22.abcddb. Delete that and start address book. That will delete the index and have AB recreate it. I don't know if that is the problem, but may be.
    On a different tack, download and install the 10.6.3 combo updater. It may fix what is broken. However, most problems are data-related, not the application itself.
    Can you log into a different user and open Address Book? Just create a new user account for testing, if there isn't another. I keep one just for checking stuff like this. Checking in a different user will tell us if it is a system-wide problem, or just that one particular user.

  • Why am I getting Run-time menu error (Error 88 occurred at One or more illegal menu item index in...) in my built applicatio​n (single .exe) , but don't get any error when running/de​bugging it?

    I am using LabVIEW 6.02 & also downloaded the application builder patch. For my runtime menus, I've a subVI that first calls "Delete Menu Items.vi" to get rid of the standard menu items and then "Insert Menu Items.vi" to add my own. I only get an error when I try to run the built application.

    There was a similar issue in LabVIEW 5.0 where you would get the error if you passed an empty array to the 'items' input of Delete Menu Items. This was corrected in version 5.0.1. Did you mass compile your VI's after upgrading to version 6.0.2?
    I tried to reproduce the problem in a small VI but was not successful. I can run an executable built from this example without any problems. I am attaching it for you to test.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect
    Attachments:
    menu.llb ‏33 KB

  • 1.Assign shortcuts to scripts 2. Actions remember insert menu commands when app is started

    It been ask before... Many times.  There is probably a current request right now.   It will be asked again... And again... And again...  Under keyboard shortcuts, allow scripts to assigned a shortcut.  Also have actions remember insert menu commands when the application is restarted.   Was patiently waiting years ago... Now I am starting to grit my teeth. When my dentist lectures me over grinding my teeth, she will not be as forgiving as I have been over the years.   It is time to set a small portion of available resources to fix and add functionality to this.

    OK, so at least we have one solution "with shortcut for script problem":
    1. Put "script.jsx" into folder  Mac OS X > Applications/Adobe Illustrator {version}/Presets/{Lang}/Scripts
    2. Make Action, "insert menu item" in it -> select "File\Scripts\script.jsx"
    3. Assign shortcut to this action. PROFIT
    But! The problem is: Illustrator "forgets" about menu item in action after restart.
    Therefore you can use script shortcut only one time per "session", and every time starting we need to make "insert menu item".
    Well, this is the second part of topic question, I guess. And I don't have solution. This is what I got:
    0. If you have several scripts with shortcuts, everyday inserting all scripts in actions is boring. Make a folder for this actions. And "Save actions" it to ".aia"
    1. Every time starting Illustrator — Delete folder with your special "scripts-actions" (because it's actions is emptied!)
    2. Then go to "File>Scripts>...". Now just gently stroke your scripts with cursor. Like a kitty. Ahahaha! )) It is not a joke!!! Do not start the scripts, just enter to its' submenu.
    3. Now "Load actions" from your .aia. Have a nice automated session with your magic scripts! This works for me. If you have daily work routine and 5-10 scripts, this is the best solution.
    * If you skip step 2, you will get "Some event has not been registered for actions"! And empty action. If first you will stroke the kitty, you will get your magic shortcuts after "Loading actions"! As I told, this not a joke, but strange Illustrator behavior.
    * If you did not delete previous folder (step 1), you'll get 2 folders with actions, old one — without scripts, new one — without assigned shortcuts. And nothing works. Delete all and reload.
    * One more thing. I have Scriptographer Extension. This extension manages scripts (js) and has "scriptographer palette". In this palette I found shortcuts, to execute selected script and etc. So, in theory it is possible to rebuild this extension with shortcuts for some scripts. Maybe we should dig in that direction? I'm too stupid for this.

  • Why do I get this error when opening I-Tunes 10.5.2?Internal Error: Could not insert menu bar item..  Error code = 5603

    I just upgraded to Snow Leopard and downloaded the latest version of I-tunes, 10.5.2, but everytime I open I-tunes, i get this error: Internal Error: Could not insert menu bar item.. Error code = 5603
    How do I fix this? Any help would be appreciated.
    Thanks.

    hello Mac.INXS, please [[Clear the cache - Delete temporary Internet files to fix common website issues|clear the cache]] & [[Delete cookies to remove the information websites have stored on your computer|cookies from mozilla.org]] and then try logging into AMO again.

  • Bug report: Photoshop can't record an action where you insert the menu item "Tile all horizontally".

    I am running CS6 beta on Mac OS 10.7.3
    Photoshop can't record an action where you insert the menu item "Tile all horizontally".
    Expected behavior: add the tile all horizontally action to your actions.
    Behavior: nothing happens.
    This does work for Tile all vertically.

    Have I mentioned how much i love my playbook now Great job on os 2.0

  • What happened to the Insert Date menu item?

    In the Numbers 3.0 upgrade the Insert Date menu item is gone.  Where can I now find it?  Or is there now  shortcut?
    David

    David,
    Wait a minute... I'm adding that one to my list.
    My workaround:
    Type =Today() Return, Return, Up-Arrow,  Command-C, Shift-Command-V
    This enters the date from a function then copies the cell and pastes the value back into the cell.
    Some shortcut, eh?
    Jerry

  • Strange ATV2 behaviour - Movies can't be selected for downloaded & most menu items not selectable??

    ATV2 fully online, previews movies, downloads YouTube, Homesharing all good (and a seasoned ATV owner and user)
    However download movies is not working, and no error message just a "beep" sound when you select "rent movie".
    Also many of the menu items cannot be selected.  You cannot down select most of the items under General, so it's impossible to change settings, or to do any troubleshooting.  You get the same "beep" sound when you select Name, Network, iTunes Store, Reset, etc.
    I have done the usual power down, plus reset using remote, but the system doesn't seem to go back to factory default.  I haven't tried the mini-USB connection to MAC as I don't have a cable but hoping someone can help?

    <Button guid="guidCBExtensionPkgCmdSet" id="cmdIdCBAutoSave" priority="0x0100" type="Button">
    <Parent guid="guidCBExtensionPkgCmdSet" id="CBAutoSaveGroup" />
    <Icon guid="guidImages" id="bmpDisk" />
    <CommandFlag>TextChanges</CommandFlag>
    <!--<CommandFlag>DefaultDisabled</CommandFlag>-->
    <Strings>
    <ButtonText>Enable Document AutoSave</ButtonText>
    </Strings>
    </Button>
    private void OnBeforeQueryStatus(object sender, EventArgs e)
    DbgMessage("OnBeforeQueryStatus");
    var myCommand = sender as OleMenuCommand;
    if (null != myCommand)
    switch (myCommand.CommandID.ID)
    case (int)PkgCmdIdList.CmdIdCBAutoSave:
    myCommand.Enabled = true;
    myCommand.Text = _autosaveEnabled ? "Disable Document AutoSave" : "Enable Document AutoSave";
    break;
    case (int)PkgCmdIdList.CmdIdCBAutoSaveProject:
    myCommand.Text = _autosaveProjectEnabled ? "Disable AutoSaveProject" : "Enable AutoSaveProject";
    myCommand.Enabled = _autosaveEnabled;
    break;
    default:
    break;
    DbgMessage(string.Format("Id: {0} Text: {1}", myCommand.CommandID.ID, myCommand.Text));
    Very puzzling that I have only seen the bad behavior on Win8.1, and not when debugging the extension.  (Haven't been able to try the extension on Win8, but have tried it on several Win7 computers, and one WinServer 2012 R2 computer.)
    Is there someplace to look for runtime exceptions?  I haven't seen any in the Output window when the bad behavior occurs....
    (If you want to try the extension, you can add a gallery and point it to www.cbates.net/VSIX/atom.xml.)

  • How to activate programatically inserted standard menu items in zScale context menu?

    Hi,
    I want to have a different context menu for an intensity graph and its Z scale. This work fine if the standard menu is keept but problems appears as soon as the context menu is customized.
    If the context menu of an intensity graph is customized, this menu is taken also for its Z scale. I work around this feature, and programmatically modifiy the context menu when user click on Z scale. So far so good. BUT I introduce for this programmatically customized context menu some standard items such as APP_SC_ADD_MARKER, and when user select those standard items, nothing appends. I mean, that the item is readed, but in that example no marker is added on the Z scale from the run time engine. Where is my error?
    Please find the test VI enclosed.
    Thank you for tips!
    Attachments:
    Intensitaetsgraph.vi ‏46 KB

    Hi aleveque,
    once you modify the run-time menu, you have to handle the events in your program:
    From the LabVIEW Help:
    "After you customize a run-time shortcut menu statically or programmatically, you must configure an Event structure to handle each menu item in the custom menu."
     Regards,
    Andreas S
    Systems Engineer

  • Spry Menu Bar - Different Background Image Wanted for menu items

    Hi, I've looked everywhere for help with this and just haven't found any answers yet ...
    I want my Dreamweaver CS5.5 menu to look like this design I've done in PhotoShop ...
    It's a simple one level list with no sub-levels.
    Everything is good, except I can only set one background image for all the menu items at this level.
    I want the first, last, and all the middle, menu items to use different background images.
    I have no idea where or how to insert the code to set a different background image for each individual menu item ...
    I know I could use images set one on top another in a column with rollover image swop, but the spry menu opens the door for dynamic content so I'm keen to get it working.
    Manchester city council has a great example of this style of menu design working at - http://www.manchester.gov.uk/
    They've got funky indenting of the text as well.
    ~~~~~~
    This is the code for my menu list ...
      <div class="sidebar1">
        <ul id="MenuBar1" class="MenuBarVertical">
          <li><a href="#">Home</a></li>
          <li><a href="#">News</a></li>
          <li><a href="#">Groups</a></li>
          <li><a href="#">Events</a></li>
          <li><a href="#">About</a></li>
          <li><a href="#">Contact</a></li>
             <li><a href="#">Help</a></li>
        </ul>
      </div>
    This is how I set the background image (but I can only define one image) ...
    I set the image background to "Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg" through ...
    CSS Styles
    SpryMenuBarVertical.css
    ul.MenuBarVertical a
    I then select the background category
    and browse to the image file.
    doing this changes my CSS code as follows ...
    ul.MenuBarVertical li
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 170px;
        margin-top: 4px;
        margin-bottom: 4px;
        background: url(/Images/Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg);
    ul.MenuBarVertical ul
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: absolute;
        z-index: 1020;
        cursor: default;
        width: 170px;
        left: -1000em;
        top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 95%;
        background: url(/Images/Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg);
    ul.MenuBarVertical a
        display: block;
        cursor: pointer;
        padding: 0.5em 0.75em;
        color: #0000;
        text-decoration: none;
        font: normal 12px Verdana, Geneva, sans-serif;
        background: #EEE url(/Images/Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg);
    ~~~~~~
    These are the three images I want to apply to the top middle and bottom menu items :
    Top menu item background image - "Menu-Nav-Bar-Pic-Top-v1-w170px-h32px.jpg"
    Middle menu items background image - "Menu-Nav-Bar-Pic-Mid-v1-w170px-h32px.jpg"
    Bottom menu item background image - "Menu-Nav-Bar-Pic-Bot-v1-w170px-h32px.jpg"
    ~~~~~~
    As I am unable to set the menu items individually, this is how the menu looks like on my website at the moment ...
    ~~~~~~
    So near yet so far ! I'm hapy with the verdana font, the image size and spacing, but the background images I just can't set them right.
    I'd really appreciate any help on this as I'm out of ideas.
    Thank you.

    The easiest way is to use pseudo elements.
    To style the first and last menu items ifferently to the rest, merely add :first-child and :last-child respectivly as follows
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
    <style>
    ul.MenuBarVertical li:first-child a {
        background-color: red;
        color: white;
    ul.MenuBarVertical li:last-child a {
        background-color: green;
        color: yellow;
    </style>
    </head>
    <body>
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="#">Item 1</a></li>
      <li><a href="#">Item 2</a></li>
      <li><a href="#">Item 3</a></li>
      <li><a href="#">Item 4</a></li>
      <li><a href="#">Item 5</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    In your case, in liue of the background colour, you would have an image.
    Gramps

Maybe you are looking for

  • Cannot send email from my iPhone after upgrade to iOS7?

    Since I did the first upgrade I receive my incoming email on my iPhone but for outgoing email it gives me a message that the username or password is wrong for SMTP.live.com

  • How to display properties of dimension on the input form and report in bpc

    Dear Expert, Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number. thanks so much hungth

  • Unable to start Oracle Enterprise Manager 10g Database Control

    We have 2 systems.. one with the database and one with the midtier (both Linux). Our site is currently down and after rebooting it, and trying to start the database console ($ORACLE_HOME/bin/emctl start dbconsole), the db console fails to load. I loo

  • How to install third party fonts into Photoshop CS6 cloud?

    Hi, in need of assistance.  My previous version of PhotoShop was CS5, and I have my photography logos created using the font "chisel thin".  Now that I have a new macbook pro laptop and am also now using the cloud version of PhotoShop CS6, when I ope

  • HP 15-r011dx

    I have a HP HP 15-r011dx running windows 8.1 and I wanted to upgrade the memory from 4GB to 8GB.  It only has one slot and it's a PIA since you need to remove the entire motherboard to get to it.  In anycase when I install the 8GB sim and put everyth