Hi,
I tried asking this question a few weeks ago and still could not get the right click customization to work when adding new items with the AddActionsLite in Custom_Scene_Actions_Lite.
I can remove or change existing items in the main menu bar using removeActionsLite, and their counterparts in the right click menu are in synch with the change (reply, forward, etc, just like in the examples).
addActionsLite is not adding the option in the right click menu.
Here is an updated version of my code:
var aAddCitem = [
{find_id: “”, id: “Custom Action”, before: false, action:"custom_alert {} ",
help_text:“Run Custom Alert on Email”,
img: API_GetMailfilePath_Lite() + “/mycustomicon.png?OpenFileResource”, img_width: 16,
img_height: 16, x_offset: 0, y_offset: 0} ];
addActionsLite( s_MenuID, true, aAddCitem );
The custom_alert() code all functions from the menu bar.
In my previous code I did not use the icon, but it did not make a difference, it still didn’t work.
This works on the main menu bar, but not the right click options. It does not get automatically added as I thought it would, there is something missing or something has changed from previous versions where it may have worked. Is this a bug, or is there a new undocumented method for adding the right click menu item?
In addition, this would be a fix for this problem, is there a way to just add an action or menu/submenu item directly to the right click menu when a user has a document selected?
Thanks in advance.