ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Output to chat input (https://www.esoui.com/forums/showthread.php?t=6647)

Rhyono 11/24/16 04:59 PM

Output to chat input
 
Is it possible for an addon to output something to the chat input? I don't want it to send it, just to place it in the text entering input.

Ayantir 11/25/16 03:07 AM

Lua Code:
  1. CHAT_SYSTEM.textEntry:Open(message)

Rhyono 11/25/16 09:58 PM

Thanks, that's exactly what I needed. By any chance is there something that allows you to specify the caret's position or to have it at the beginning instead of end?

Ayantir 11/26/16 04:02 AM

Quote:

Originally Posted by Rhyono (Post 28997)
Thanks, that's exactly what I needed. By any chance is there something that allows you to specify the caret's position or to have it at the beginning instead of end?

Lua Code:
  1. CHAT_SYSTEM.textEntry:SetCursorPosition(position)

zgoo and other tools are your friends..


All times are GMT -6. The time now is 12:37 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI