Jump to content

How can i send letters with not using the keyboard?


Recommended Posts

well i know that there is one for mouse so yes i did search but i do not neeed to move mouse in what am making'

i siply want to use some keys and it would be better not to bother my keyboard from some endless loops that will exist

so i can generate a exit button from the loop on a GUI so anyidea?

Link to comment
Share on other sites

you could create buttons that you click that will send the keys... idk if that helps but its worth a try if you dont want to use the keyboard

edit: had to fix spelling

that will take time and the program must been used in full screen Unfortunetly i can't have GUI in the full screen of the program that am making the auto it program

Link to comment
Share on other sites

you can create a GUI that displays over what ever program your running and it doesnt take that long to create a GUI if your using scite it has the Koda Form Designer built into it.

even over ActiveX GUI ? coz i don't think its possible is it ? give me un exable script one window with nothing that will run over anythink

Link to comment
Share on other sites

alright bro u got msn?? i can help you there because from what i can tell your making a bot and we shouldnt do such things on a forum

this is actually a good challenge for me, i started now i need to finish it lol

Edited by Zmaster

A great place to start Autoit 1-2-3

Link to comment
Share on other sites

Send() ? :)

lol thats what i thought in the beginning, but now i see what hes trying to do its actually really simply he wanted to be able to chat in game while his script was spamming "A" only prob was that the moment he opened a chat box it would send A to it any way. so i put a pause in his script to make it work for him.

this is what we got(it works just a bit messy):

;;|-------------------------------|
;;| Lunia Bot By DeMeteor        |
;;| Protect Version 0.1 BETA      |
;;| Freewera                      |
;;| www.elitepvpers.de         |


;Variables
Global $attackcombo1 = 0
Global $Paused

;Hotkeys
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("{insert}", "_Attack1")


;loop until exited, while looping hotkeys can be used to activate functions
While 1
    Sleep(100)
WEnd

;;;functions;;;
;checks to make sure if Lunia is active
Func _Attack1()
    If WinActive("Lunia") Then
        _Attack2()
    Else
        WinActivate("Lunia")
        WinWaitActive("Lunia")
        _Attack2()
    EndIf
EndFunc

;runs the attack
Func _Attack2()
    While $attackcombo1 < 7
        Send("{a}")
        Send("{a}")
        $attackcombo1 = $attackcombo1 + 1 
        Sleep(200)
    WEnd    
EndFunc

;pauses the script
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
    WEnd
EndFunc

;exits the script
Func Terminate()
    Exit 0
EndFunc

A great place to start Autoit 1-2-3

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...