Log in

View Full Version : Keyboard input



rhioinside
09-11-2016, 11:03 PM
hello, im trying to send a keyboard key without sucess...

so far i tried something like this:

Signal:Execute("VK_RETURN") ->>> Trying to send 'ENTER' to tibia client

Please, help me.

rhioinside
09-11-2016, 11:06 PM
to make myself clear...

im playing an OT and there i can use the command fly. If i do so, a window appears with the name of all cities. Since Thais is the first city, i just have to press ENTER (or Return) to fly there.

rhioinside
09-15-2016, 01:11 AM
nobody?

Fatality
09-16-2016, 05:03 PM
Signal is a XenoBot feature to communicate between 2 lua scripts running in the same client, NOT send keys.

If you want to do something like this you will have to write a DLL and compile it and then use lua's package library to load it, or the simple way, make an AutoIT script that you can execute from a lua script to focus the Tibia window and send enter

rhioinside
09-20-2016, 02:09 AM
how do i make an AutoIT script that you can execute from a lua script?