XCode How to modify menu item

Newbie here. Have been searching around not have not been able to find a example that shows how to modify a menu item dynamically.. eg. Like in the menu bar the battery menu info is able to show how much battery life is left.

Have you looked over Views in Menu Items in +Application Menu and Pop-up List Programming Topics for Cocoa+, or the MenuItemView sample app?

Similar Messages

  • How to Disable Menu item in Oracle Applications

    Hi,
    How can I disable a Menu (Actions->user defined menu) Item in Oracle applications by using forms personalization.
    Our requirement is to display a message on click of a standard menu using form personalization and it should retain the seeded functionality.
    Thanks
    Prasanna
    Edited by: user13029651 on Jul 30, 2010 6:47 PM

    As an Oracle Applications Developer, your best friends are going to be the following docuements:
    <ul><li>Oracle Applications Developer's Guide </li>
    <li>Oracle Applications User Interface Standards for Forms-Based Products</li>
    <li>Oracle Application Framework Personalization Guide</li></UL>
    These and all of the other related EBS documents can be found in the Oracle Applications (EBS) Documentation Home and don't forget the Oracle eTRM Technical Reference, but you will need an Oracle Support contract to access this site.
    When you can't find your answer in these document sources, you can always ask for help in the E-Business Suite group of forums.
    Craig...

  • How to add menu item in Virtual Folders Actions Menu

    Hi ,
    I am writting a custom component which will add some action on documents and virtual folder.
    I am able to add the menu item for DocInfo, but not able to add Menu Item in Virtual Folders Actions Menu.
    Please help!!
    thanks

    I am able to add the menu item for DocInfo, but not able to add Menu Item in Virtual Folders Actions Menu.What exactly you are trying to modify? If web GUI, it should be following the same principles as your "DocInfo" changes (only the basis service is COLLECTION_DISPLAY). If you are trying to modify Desktop Integration Suite, I'm afraid there is no help (at least, I have not heard that DIS could be modified by custom components).

  • How to make menu-item of current page appear in a different font color?

    Hi,
    My menu-bar works just fine. Hovering the links I get the text to take display the desired color. Now I want the menu-item of the selected page to show a third color.
    With live-code enabled in Dreamweaver CS6, I can see the following code being generated by the Dynamic menu:
    <script type="text/javascript" src="/CatalystScripts/Java_DynMenusSelectedCSS.js"></script><!-- Dynamic Menu Begin CSS Output --><div id="cat_549633_divs"><ul id="nav_549633"><li class="selected"><a href="/home.html">Home</a></li><li><a href="/leistungen.html">Leistungen</a></li><li><a href="/uhrenservice.html">Uhrenservice</a></li><li><a href="/versteigerungen.html">Versteigerungen</a></li><li><a href="/diamanten.html">Diamanten</a></li><li><a href="/ueber_uns.html">Über uns</a></li><li><a href="/kontakt.html">Kontakt</a></li></ul></div><script type="text/javascript">catSetSelectedCSSItem('nav_549633');</script><!-- Dynamic Menu End CSS Output -->
    The class .selected is being created in the first list-item (home) as this is the current page.
    And here is my CSS:
    #nav_549633 {
              float: right;
              list-style-type: none;
              padding-top: 5px;
    #nav_549633 li {
              float: left;
              text-align: left;
    #nav_549633 li a {
              color:white;
              text-decoration: none;
              margin: 0 27px 0 0;
              font-size: 13px;
              text-transform: uppercase;
    #nav_549633 li a:hover {
              color: yellow;
    .selected {
              color: green;
    The font color green does not appear. It is still white.
    In order to see if the class is "working" I tried some other attributes, that DO work!
    .selected {
      color: green;
      padding: 20px
      background-color: blue;
    In this case, the item appears as a blue box with 20px-padding, just as expected - but the font-color is still white.
    Can anyone help me?
    Regards,
    Herman

    Hi Mario,
    Here's the link to my site:
    http://grootaartseuronics.businesscatalyst.com/index.html
    I have found a solution myself for 2 of the 3 questions i had:
    I have deleted/changed this div: #nav_1371057 li li
    And created a few new ones:
    #nav_1371057 li li a, #nav_1371057 li li a:visited (To control the link en visited link colors in the sub-menu other than the root-menu)
    #nav_1371057 li li a:hover (to control the hover in the sub-menu other than the root-menu if nessesary)
    #nav_1371057 li li.selected a (to control the selected link and let the link change color or bolder like in my case)
    Here are the CSS styles I used:
    #nav_1371057 li li.selected a { /*Dit veranderd de dikte (bold) van de geselecteerde link in het submenu, dus de pagina waar je bent*/
    font-weight:bolder;
    #nav_1371057 li li a, #nav_1371057 li li a:visited{
    background:  #006;
    color:#ffffff;
    #nav_1371057 li li a:hover{
    background:  #999;
    color:#ffffff;
    Only thing i can't figure out is how I can change/control the color of the arrow which is black now. And i want to make it blue.
    Thanks,
    Frank

  • Xcode crash when modify menu in xib?

    I create a OSX app .
    When I add menu into xib , and modify menu size , xcode will no respons
    please help me .   sorry for my poor English.

    bchopra, this is the CRM On Demand Admin Forum. Based on your question you are not in the correct fourm.

  • How to disable menu items through c# in adobe x standard. I didn't find the required APIs.

    Hi
    We are working on a desktop application on C# which uses Adobe Express 5.0. to view the PDF files. Recently we had an issue reported that PDFs created in Adobe 9 are not opening up. So we decided to upgrade to Acrobat Adobe X Standard. Now the issue is that I have to suppress controls (tool bars(or Panels), menu items) for which I'm using the below code which worked in express 5.0 but not on Adobe X. Also I want to view the toolbar by default instead of the translucent menu at the bottom of the page.
    Acrobat.CAcroApp.ToolButtonRemove("SaveFileAs");
    Acrobat.CAcroApp.MenuItemRemove("Quit");
    Please help.
    Thanks,
    vinay

    Hi
    We used javascript to find out the names of the menu items that are present in the Adobe 9.0 Std. I presume that it would work even for Adobe 10.o as well. After that in the .NET C# code we have used App.RemoveMenutItem ("<<MenuItemName>>") to disable all the menu items that we dont want You can search for javascript references for Acrobat and you would find many.
    Also I've figured out another way where you remove the .api files from your plugins folder, however I'm not sure if it would create any further problems. This is route is not taken, atleast for now.
    Please post here the route taken by you.
    Thanks.

  • How to active menu item by press Alt key

    Hi everyone,
    I don't know how can i active jmenu bar by pressing Alt key first, and press another key ( for exp. press 'F' go to File menu), they are not at the same by holding Alt key.
    Thanks for help in advance.

    I still didn't get it, would you like give me some details.
    How do i make the ALT key select it (but not open it).
    By pressing the "F' key, the "File "menu selected should be opened.

  • How to hide menu item(Download a Copy...etc) of online site in sharepoint app according to different condition

    My requirement is that need to build a  sharepoint app, the app need to deploy to office store, whether to display "Download a Copy" according to different login in user(sharepoint office365 user), 
    click the  documnet, navigate to the other website,  after get the document stream, i need to convert the stream to the other data format(pdf...etc),  maybe i need the third-party dll to achieve it, so i think of sharepoint provider-hosted
    way to handle the requirement.
    i don't know whether there are the other way , if my way is the best, how to achieve it ?
    Thanks

    Hi,
    According to your post, my understanding is that you want to hide "Download a Copy" according to the user permissions.
    We can achieve it using jQuery and SharePoint REST API. Use REST API to check user permissions, then hide "Download a Copy" like this:
    $("A[id$='Ribbon.Documents.Copies.Download-Large']").hide();
    http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
    For other questions, I would suggest you post it in a new thread, it would make others easier to focus on one question in one single thread and it will benefit other community members who stuck with the same question.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to modify page item dynamically

    Hi experts,
    I have a DB table called attribute in that i am having set of attributes namely att1,att2,att3....... And in application builder i had created a page called service request. When i run the page it have att1,att2,att3 and their corresponding page items. For example ATT1 has text field,ATT2 has a text field,ATT3 has select list. Now the user want to edit the page items(while the page running) ATT1 to select list and ATT2 to Select list and ATT3 to Text field after the changes it should reflect in the application page.
    Edited by: karthi on May 3, 2011 2:45 AM
    Edited by: karthi on May 3, 2011 3:22 AM

    hi,
    can you please tell me the steps. I had write the following code in pl sql->region->source.
    begin
    SELECT
    empno,
    APEX_ITEM.HIDDEN(1,empno)||
    APEX_ITEM.TEXT(2,ename) ename,
    APEX_ITEM.TEXT(3,job) job,
    mgr,
    APEX_ITEM.DATE_POPUP(4,rownum,hiredate,'dd-mon-yyyy') hiredate,
    APEX_ITEM.TEXT(5,sal) sal,
    APEX_ITEM.TEXT(6,comm) comm,
    deptno
    FROM emp
    ORDER BY 1;
    end;
    BUT IT SHOWS THE FOLLOWING ERROR
    *1 error has occurred*
    ORA-06550: line 3, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    Regards,
    Karthi
    Edited by: karthi on May 3, 2011 9:50 PM

  • Modification of menu items HTML

    Does somebody know, how to modify menu item rendering in oracle UCM 11g?
    In previous version, 10g, I used to make in using menuA_MenuItem_OpeningHtml(node, nodeLocation), menuA_MenuItem_CoreHtml(node, nodeLocation), menuA_MenuItem_ClosingHtml(node, nodeLocation) javascript methods in my custom layout.js template, but in the 11th version those methods are not fired. Menu items itself are rendered as DIV wish UL element in it, I would like to have another HTML markup there. Is it any option to do than in a simple way?

    Hello, Jiri, the tutorial you've sent makes 100% clear how to add items into menuA or MenuB, but it still does not explain, hot to change menu item rendering. Yahoo  interface library generates UL/LI elements for the main menu, but in case I would like to have a table instead of LIs, what modifications need to be done, that's a question. But may be I just cannot read. Will go through the example one more time.

  • Adding menu items

    I am writing a program using netbeans. I have put in a menu bar and a menu from the palette. I don't know how to add menu items. The explanation in the tutorial says how to code it in at the place where the GUI is constructed. But this is in a blue area in the source listing and it won't let me edit it. Help.

    I am writing a program using netbeans. I have put in
    a menu bar and a menu from the palette. I don't know
    how to add menu items. The explanation in the
    tutorial says how to code it in at the place where
    the GUI is constructed. But this is in a blue area in
    the source listing and it won't let me edit it.
    Help.just look at the properties maybe you miss something or you can add
    menu items manually.

  • How to add/delete items in right click context menu when opening a new link FF17 osx... 6 instances of open link in new identity profile have appeared

    The menu items appeared without any idea why, they had not been there before. I have macbook with os 10.6.8 I had been trying to get pdf to work in firefox, so had followed a recipe suggesting enabling the pdf reader part of firefox. Required making 2 adjustments to the about:config. One disabling the browser.preferences.incontent and would changing default of pdfjs. Pdf still won't display, but don't know if what I did is related. Now I am trying to just find out how the menu gets modified at all, and whether I can do so as a user.

    A little research revealed addons can add items to context menu, in this case multifox adds option to open tab in new profile for multiple gmail etc logins. I had updated addons earlier, think that triggered it. So now I know why and what it does. The problem is why 6 times listed (instead of just one)... it also varies, sometimes the context menu will have one instance... and have seen as many as 9. Not sure why it varies, but would still also like to know how to modify context menu. Could just be a bug in multifox with FF17 I suppose. I will disable multifox and see if problem goes away.

  • How to hide/remove a menu item in Acrobat X

    Hi,
    I have a plugin created in acrobat sdk 9, running on acrobat x. I want to hide/remove the "Manage Trusted Identities" menu item, found under "Sign & certify (panel) > more sign & certify menu."
    How can i achieve this using javascript?
    thanks in advance,

    Well, I dont want users to be able to access/modify the trusted identities, so i decided to remove/hide the:
    Acrobat X > "Sign & Certify (panel)" > More sign & certify (i think its a menu) > Manage trusted identities (menu item).
    And can i hide/remove above mentioned item in any way other than javascript, like plugin code?
    Is it in any way possible to prevent user from accessing/modifying the acrobat trusted indentities?
    Thanks.

  • How to have some top level menu items not be hyperlinks

    I have a navigation band where 5 of the 6 top level items need to NOT be hyperlinks but simply "category titles" that you mouseover to display the submenu - which are the links to web pages.
    An example of this is on the Amazon.com home page - the items under "Shop All Departments" has categories that are not clickable, but when you mouseover display the clickable submenu.
    Is it possible to customize some but not all of the top menu items and how?
    What do I need to modify in the CSS so that the top "category title" looks/behave the submenu (same font color/bgcolor changes) but no active hyperlink?

    Here is a link to my pagewhere I am testing the navigation. Currently there is only this one page and I have <a href="#"> for the links.
    The only menu item that should be clickable in the top level is "Contact"
    Everything in the second and third level (Events > Research >...) needs to be clickable
    Everything is working as I want except that "Research" needs to be clickable
    - and I would like to have the clickable item text be underline when in the hover state but I want to get the base navigation working first
    The closest matching code I found in the CSS is:
    #MenuBar1 li .MenuBarItemSubmenu,
    #MenuBar1 li ul li .MenuBarItemSubmenu {
        cursor: default;
    If I remove this, all the top level items become clickable. Let me know if there is other information you need. I super appreciate your help with this!

  • How do i disable menu items in Help manu, Photoshop cs6?

    How do i disable menu items in Help manu, Photoshop cs6?
    I packaged Photoshop cs6  using AAMEE CS6.
    I need to some menu items to disable.
    can any one please tell the process of doing , or which registries or files need to edit.
    Appreciate the immediate response.
    thanks in advance.

    Hello8
    Given the fact that you speak about AAMEE, it's not clear if you search for an automated and remote way to do it on multiple machines or not.
    (and therefore if this thread should be moved to the relevant forum, http://forums.adobe.com/community/download_install_setup/creative_suite_enterprise_deploym ent )
    To disable menu items, simply go to Edit>Menus and click on the eyeball next to the menus you do not want.
    It is then possible to save it in a workspace that by default will be located there: Documents and Settings/[user name]/Application Data/Adobe/Adobe Photoshop CS6/Adobe Photoshop CS5 Settings/Workspaces (Modified)
    I'm not sure if Photoshop will start if the default workspaces are removed, as there is an option to restore them in the preferences.
    Also, this is not customer support, but a forum fielded by volunteers that answer when they can, so inviting for an"immediate response" has no bearing; and might even have the opposite effect, but thanks for doing it in a polite and non too demanding way!

Maybe you are looking for

  • Downloading to ipod

    Ive had some trouble downloading to the iPod. In iTunes everything seems to go well, but when I look at the iPod(go into songs or anything), nothing is there. I check the memory and I have used about 10gb, but none of it shows up. I checked by going

  • How to put echo command and other command in same line in Terminal

    Hello everyone. I use GeekTool (v3.0.1) and was wondering if I could put an "echo" command and another command in a shell script such that the output would be 1 line only instead of 2 lines for the 2 commands. How do I do that?

  • Change color in an Encore motion menu background

    I am thinking about using an existing Encore menu but I would like to take the moving background which is shades of blue and change it to shades of another color.  I've done this in PS for fixed backgrounds by right clicking and sending the menu to p

  • A lot of text on websites show up as random symbols?

    random letters with accents ect.

  • Change aligned option shortcut for stamp clone tool

    I often use the stamp toll and I want to use it without the aligned option ticked. It is simple to untick the box but it seems there is a shortcut to set the option checkbox that I cannot disable. If I hold down the alt key and press the mouse to sel