• 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

Lua - How to send text to an Input

Joined
Jun 29, 2020
RedCents
216¢
I am using the following code get reference to a text input on a tradeskill container:

Lua:
mq.TLO.Window('TradeskillWnd/COMBW_LeftSideArea/COMBW_FavoritesArea/COMBW_SearchArea/COMBW_SearchTextEdit').LeftMouseUp()

How can I send Keyboard input into the textbox now that it has y active cursor in it?

I tried using mq.cmd(), but it assumes that I am sending in /commands and not just raw text. I also tried /noparse, but get the same command issue.
 
mq.cmd('/notify WindowName texthere')

if you need spaces

mq.cmd('/notify WindowName "text with spaces"')

double quote the text
 
I switched it to mq.cmd('/notify TradeskillWnd/COMBW_LeftSideArea/COMBW_FavoritesArea/COMBW_SearchArea/COMBW_SearchTextEdit "test data"')
and got a warning saying "Syntax: /notify <window|'item'> <control|menuselect|0> <notifiication> [notification data]".

So instead I tried: mq.cmd('/notify TradeskillWnd COMBW_SearchTextEdit "test data"') and got an error "invalid notification 'test data'"
Do I need to have what the notification type is? and if so is there a list that I can pull from? On the datype page for the window I see the following actions:
DoClose
DoOpen
LeftMouseDown
LeftMouseHeld
LeftMouseHeldUp
LeftMouseUp
Move[x,y,width,height]
RightMouseDown
RightMouseHeld
RightMouseHeldUp
RightMouseUp
Select
SetAlpha[0-255]
SetBGColor[argb]
SetCurrentTab[#|name]
SetFadeAlpha[0-255]

But I do not see any action for character input?

Thanks for the fast response!
 
you can always build a for loop and use /keypress [character] chat like /keypress a chat while the box is selected lol kinda rigged but hey.
 
Lua - How to send text to an Input

Users who are viewing this thread

Back
Top
Cart