Can't add a new menu

Hi,
(FM10, Win XP)
Following the example in the scripting guide to add a menu with ES, I just can't get it to work. I expect the menu to appear after I run the script, which it does when I run the equivalent with the FDK. What am I missing here?
var fmMainMenu = app.GetNamedMenu("!MakerMainMenu") ;
var newMenu = fmMainMenu.DefineAndAddMenu("MyMenu1", "MyMenu1");
I tried adding a command to the menu and get no errors, but the new menu still does not appear.
Thanks,
Russ

Also, I found that removing the menus again somehow never works. This means that in a first trial the menu with the name MyMenu1 might already be added - even though it is not visible - and the next run of your script cannot add the same menu anymore. Adding commands to the already existing - invisible - menu will work but never make any commands available. In my trials and errors with menus I was constantly restarting FM to get rid of the previous trial menus. I know there must be a better way but it seems that some script methods do not work.
Good luck
Jang

Similar Messages

  • Can we add our own menu in sap easy access screen

    can we add our own menu in sap easy access screen
    along with the existing menu items...
    ex : can i add the new menu item as help1 on that screen
    regards
       raghu

    go  to transection se43 ...ther e  u can create   ur  own menu list.. and  ur  cusomize transection to that perticular menu list.....
    You can enter the area menu in the command field like any other transaction code, also in menu exits can be filled with a area menu.
    You might play a little with S000 and S001 - when you enter them, the menu tree of easy access changes.
    Do you search for the menu exits to append your area menu into the standard menu tree?
    Message was edited by: kishan negi

  • Can I add a new phone user to my itunes account without overriding my phone data?, can I add a new phone user to my itunes account without overriding my phone data?

    Can I add a new phone user to my itunes account without overriding my phone data?

    Read this
    http://support.apple.com/kb/HT1495

  • Can't add a new event to iCal on my iMac - but the event sync's to my iPad - is this a Lion problem? iCloud is on.

    Can't add a NEW EVENT to my iCal on my iMac- however the event is sync'd to my iPad with no problem. iCloud is turned on for iCal. Is this a Lion problem or something turned pff. I cannot find an answer. Help?
    Williamfronsc

    William,
    It is a possibility that you are adding new events to your "On My Mac" calendars.
    "On My Mac" calendars will not sync with iCloud. After backing up the "On My Mac" calendars, and ensuring that all events are duplicated on your iCloud calendars you can delete any "On My Mac" calendars.
    For further troubleshooting advice read iCloud: Troubleshooting iCloud Calendar.

  • I can't add a new event to my calendar on iPhone.

    I can't add a new event to my calendar on iPhone. The plus sign is greyed out and even when I try it with Siri it says "Sorry. I can't do that right now". I did my due diligence and searched all over the forums and internet and I can't fix this. There was a listing in a forum where a lady had this same symptom but it looks like toggling iCloud worked for her. Not for me. I went into Settings>iCloud and turned off Calendar and then turned it back on. Still nothing. I even went to iCloud Backup and turned it on then back off and still nothing. Anyone have any suggestions? Thanks!

    See if you can go to your Calendars App and select a previous event to see what Calendar the event was added to (iCloud or Yahoo). After that is determined you can go to www.iCloud.com or calendar.yahoo.com and add the event there to see if it will populate on your device. Another troubleshooting step is deleting the iCloud account from your device and also deleting the Yahoo account. Then check to see if you can add an event without it syncing to a email. If you can then it may have just been a bug and you can add both accounts back and try adding the event again. I would also recommend only using one service to sync your Contacts, Calendars, Reminders, etc. Such as either iCloud only or Yahoo only, as using multiple accounts means your data is spread around and can be hard to isolate when something goes wrong.

  • ICal Lion is infuriating. How can I add a new event in a chosen calendar without having to create it in my default then edit it?

    iCal Lion is infuriating. How can I add a new event in a chosen calendar without having to create it in my default then edit it?

    We are all entitled to our own opinions. So I respect you there brother
    But then again, Apple has its own basis. iOS is what's selling like pancakes not Macs, so if the gazillions out there are using iOS device and have gotten used to the calendar in their iOS devices. Wouldn't you think it made sense if Lion has the same calendar look and feel?
    Everything was considered and weighthed when they developed Lion. They even mentioned it in the press, They were blown away with the success of iOS so they are extending it to OSX.
    Quite frankly, I like the old iCal but yeah I don't expect anything in SL to stay in Lion otherwise it'll be another Cat name related to Leopard
    People should start looking at this perspective and not get STUCK in the old OS.

  • How can I add a new filed to standart SAP Screen

    Hi eveybody,
    I am using ima11 t-code and I need to add A new screen field to standart SAP screen(program No SAPLAIA1 Screen:1001 ).I have found five user-exits(AAIR0001,AAIR0002A,AIR0003,AAIR0004,AAIR0006) but there is no screen-exit. How can I add a new filed to standart SAP Screen.Is it possible? If it is possible, how can I do that?

    hi
    yes you can add a search help for a filed on the screen
    but you need to find out for the USER EXIT available for that T-CODE
    because it is a standard T-CODE we can't add code directly to the standard T-code
    1st we need to find out for a user exit and then add code in that user exit
    reward if usefull

  • How can i add a new 53 rd week to calendar

    Hi All,
    we have requirment i need to add a new week to fiscal year 2011 for septemebr,2011
    Please let me know how can i add a new week to this month,
    Thanks & regards,
    Chand

    Hi All,
    we have requirment i need to add a new week to fiscal year 2011 for septemebr,2011
    Please let me know how can i add a new week to this month,
    Thanks & regards,
    Chand

  • How can i add a new characteristic to Sap standard InfoObject?

    Hi Experts,
    Please anyone let me know how can I add a new characteristic or a key figure into an SAP standard InfoObject in order to add it to the standard InfoCube? The situation is I would like to add region and business unit to the characteristics of the Industrial Hygiene and Safety. After that, I would like to add them to the InfoCube called Accidents: Person Involved [0EIH_C02] that is located in the MultiProvider called Accidents: Complete View [0EIH_MC01]. Is it feasible to do this way?
    I just learned the BW/BI, so please help me with this. I would really appreciate your responses.
    Thanks,
    -Napadol

    Hi Napadol,
    To add a attribute in a char:
    1) Go to info object/char in change mode and add the additional attribute you want and select navigational attribute in attribute tab if you want. (Create these additional attribute first in info object catalouge)
    2) Activate the Object/Char
    3) open info cube in change mode and pick the characteristic from left panel to info cube dimension.
    4) Activate infocube.
    5) Go to multi provider add the char in one of the dimension and do identification for this char and activate.
    Regards,
    Kams

  • How can I add a new entry for determining a requirement type

    Dear Friends,
    How can I add a new entry for determining a requirement type
    via Item Category + MRP type,  I see no new entries selection.
    This is in  Avb Check & TOR-> TOR-> Determination of req type using transaction.
    Please help.
    Regards
    Ravi.

    Availability Check and Transfer of Requirements > Transfer of Requirements > Define Requirements Types ?
    Just one node above?
    Never mind, you need to add entry on item category:S

  • How can I add a new line item for production order?

    HI all,
    How can I add a new line item for production order through BAPI/FM? Thanks in advance.

    Hi Mil,
      Unfortunetly SAP is not in front of me.
    But if possible go to BAPI transaction , check for any production order's bapi for CHANGE purpose. Where you will be able to add your new line.
    Reward if useful!

  • How can I add a new column in compress partition table.

    I have a compress partition table when I add a new column in that table it give me an error "ORA-22856: CANNOT ADD COLUMNS TO OBJECT TABLES". I had cretaed a table in this clause. How can I add a new column in compress partition table.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    COMPRESS PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    Note :
    When I create table with this clause it will allow me to add a column.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    But for this I have to drop and recreate the table and I dont want this becaue my table is in online state i cannot take a risk. Please give me best solution.

    Hi Fahed,
    I guess, you are using Oracle 9i Database Release 9.2.0.2 and the Table which you need to alter is in OLTP environment where data is usually inserted using regular inserts. As a result, these tables generally do not get much benefit from using table compression. Table compression works best on read-only tables that are loaded once but read many times. Tables used in data warehousing applications, for example, are great candidates for table compression.
    Reference : http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_data.html
    Topic : When to Use Table Compression
    Bug
    Reference : http://dba.ipbhost.com/lofiversion/index.php/t147.html
    BUG:<2421054>
    Affects: RDBMS (9-A0)
    NB: FIXED
    Abstract: ENH: Allow ALTER TABLE to ADD/DROP columns for tables using COMPRESS feature
    Details:
    This is an enhancement to allow "ALTER TABLE" to ADD/DROP
    columns for tables using the COMPRESS feature.
    In 9i errors are reported for ADD/DROP but the text may
    be misleading:
    eg:
    ADD column fails with "ORA-22856: cannot add columns to object tables"
    DROP column fails with "ORA-12996: cannot drop system-generated virtual column"
    Note that a table which was previously marked as compress which has
    now been altered to NOCOMPRESS also signals such errors as the
    underlying table could still contain COMPRESS format datablocks.
    As of 10i ADD/SET UNUSED is allowed provided the ADD has no default value.
    Best Regards,
    Muhammad Waseem Haroon
    [email protected]

  • How can I add a new column to Grid view under Tests tab

    I understand in "ORACLE Test manager for web Applications", the Grid view under Tests tab should be customised.
    How can I add a new column to Grid view under Tests tab? Thanks Katherine

    I don't think this is possible.
    Regards,
    Jamie

  • How can I add a new message(custom text message) to the holiday approval em

    How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
    TIA

    The answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
    For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
    JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
    So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
    The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
    It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include?

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

Maybe you are looking for