Chat Functions

zetaepyon edited this page Jan 9, 2018 · 1 revision

This page outlines the available functions that manipulate the FFXI chatlog.


windower.chat.add_to_input(text, position)

  • text string - The text to add to the input
  • position number [optional] - The position to add the new text to

Adds the provided text into the current input box at the provided position. If no position is specified it will add it at the current cursor position.

windower.chat.get_input()

Returns the current input text and the current position of the cursor. This will contain encoded auto-translate phrases.

windower.chat.input(text)

  • text string - The text to input

Will input the provided text into FFXI's internal command handler. The same as typing it out and pressing enter.

windower.chat.is_open()

Returns true if the chat box is currently open, false otherwise.

windower.chat.paste()

Will paste the current contents of the clipboard into the chat box.

windower.chat.set_input(text, position)

  • text string - The new input text
  • position number [optional] - The new cursor position

Sets the current text in the chat box to the provided value. The cursor is set to the provided value, or, if omitted, at the end of the new input text.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.