quote:
Originally posted by alexp2_ad
quote:
Originally posted by CookieRevised
Not possible with scripting.
Scripts can only add stuff in their own submenu in the Plus! icon in a conversation window and in the Plus! icon in the contactlist.
You may be effectively right in the this context, but that's not strictly true really...
code:
function OnEvent_ContactListWndCreated(){
var menu = Interop.Call("User32","GetMenu",Messenger.ContactListWndHandle);
Interop.Call("User32","AppendMenuW",menu,0,355,"Cookie Revised Smells Funny!");
}
tbcat asked to add a main menu item in the
Plus! icon menu's (look at his sshot), not in the main menu of a window.
(Moreover, it is very hard to do anything once you have added your menu to a main menu of a window; you can add all you want, you wont be able to do anything with it since that requires callback functions)