• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Triggering a pop-out menu?

Joined
Sep 27, 2020
RedCents
6,554¢
I'll state up front I'm aware of the /grouproles command, but it's effect isn't applied consistently (especially with regards to mercs).

What I'm looking to do is trigger the Roles pop-out menu and then select one of the roles. This doesn't appear to be a Lua issue specifically, but since that's what I'm writing in, I thought I'd ask here.

Getting a group member menu to appear isn't the issue. mq.TLO.Window("GroupWindow").Child("GW_Gauge1").RightMouseUp() does the job just fine. From there, Something like mq.cmd('/notify \"Roles\" menuselect") isn't effective. I'm guessing because this is a hover pop-out (menuselect works on other menu items such as Show Display). Based on what I'm seeing in the Window Inspector, menus do not appear to have a name. If this is correct, it limits the ability to use mq.TLO.Window("<menu name>").Select.

What am I missing?
 
The menu you're talking about is the right click context menu, I thought there was an issue in git for manipulating it, but I don't see it. @kaen01 might know.
 
all i remembered was the old update notes for when menu interaction was put in


Code:
Dec 07 2018 by eqmule
- Updated for BETA
- The following feature has been on my todo list forever and was brought to life by @Knightly, all hail Knightly!
  Thanks for your support.
- Added the ability to interact with menus - cred : Knightly
  Example: /notify "open the door to the lobby" menuselect
  It will search the currently open menu for the words "open the door" and click that menu item if it finds it.
  the search is case insensitive and sub strings are fine
  thus you could just do /notify "open the" menuselect and it would still find and click that item
-
- Added a new TLO: MQ2MenuType it inherits the Window TLO.
  It has 1 method:
    .Select : It will select a menu item (click it)
    usage: /invoke ${Menu.Select[open the door]}
    Output: none, it just clicks that entry if it finds it.
-
  It has 6 members:
    .Address : pIntType it returns the address of the currently open menu.
    .NumVisibleMenus : pIntType it returns number of currently visible menus. Ordinarily this is going to be 1 if a menu is showing and 0 if not
    .CurrMenu : pIntType it returns the index for the currently visible menu. Ordinarily this will be 0 if a menu is open and -1 if not
    .Name : pStringType it returns the name of the menu or the first items name.
    .NumItems = : pIntType it returns number of items in the currently open menu.
    .Items : pStringType it returns the Itemname specified by Index
--  Usage Examples:
--    /echo ${Menu.Name}
    Output: Shabby Lobby Door
    /echo ${Menu.Open} (it inherits Window TLO, remember?)
    Output: TRUE
    /echo ${Menu.NumItems}
    Output: 4
    /echo ${Menu.Items[2]}
    Output: Adjust Placement
- Added some door defines.
 
Question - Triggering a pop-out menu?

Users who are viewing this thread

Back
Top
Cart