keotix Posted May 27, 2008 Share Posted May 27, 2008 is there a way to speed up autoit's typing? its typing 1 letter at once (fast, but not enough for a game), can i make it so that it types a whole word in the time it takes to type one letter? i seen someone use .ini to do somthing like this? but i dont know what exactly to do.. Link to comment Share on other sites More sharing options...
JRowe Posted May 27, 2008 Share Posted May 27, 2008 ; Set the AutoIt delay options Opt("SendKeyDelay", 0) Opt("SendKeyDownDelay", 0) ;If 0 doesnt work, try 1 $TextIWantToSend = "DUN DUN DUN DUNNNNNNNN. DUN DUN DUN DUNNNNNNNNN. DEDEDEDEDEDEDEDEDEDEDEDA." ControlSend("Untitled", "", "Edit1", $TextIWantToSend) Open up notepad, run the script, it will send the $TextIWantToSend really fast. Anyway, just throw Opt("SendKeyDelay", 0) Opt("SendKeyDownDelay", 0) Into your script and you should be set [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center] Link to comment Share on other sites More sharing options...
AlmarM Posted May 27, 2008 Share Posted May 27, 2008 _Send("Text") Func _Send($aText) $OldClip = ClipGet() $NewClip = ClipPut($aText) Send("^v") ClipPut($OldClip) EndFunc Try this -AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
amokoura Posted May 27, 2008 Share Posted May 27, 2008 _Send("Text") Func _Send($aText) $OldClip = ClipGet() $NewClip = ClipPut($aText) Send("^v") ClipPut($OldClip) EndFunc That's an interesting solution. Could it have any drawbacks? If not, I'm going to use that instead of the slowish Send. Link to comment Share on other sites More sharing options...
AlmarM Posted May 27, 2008 Share Posted May 27, 2008 That's an interesting solution. Could it have any drawbacks? If not, I'm going to use that instead of the slowish Send.Thanks, I knew this was usefull sometime And what you exacly mean with drawbacks?-AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
Sheri Posted May 27, 2008 Share Posted May 27, 2008 That's an interesting solution. Could it have any drawbacks? If not, I'm going to use that instead of the slowish Send.I like this approach and have used it alot with other scripting programs. But it depends on who is using it. Some folks object to scripts that alter the clipboard. E.g., folks running clipboard trackers end up with extra clipboard changes. Link to comment Share on other sites More sharing options...
amokoura Posted May 27, 2008 Share Posted May 27, 2008 And what you exacly mean with drawbacks?I meant in what aspects Send would be better than clipboard handling.Sheri has a good point. Luckily my environment doesn't likely have any clipboard monitoring apps. Link to comment Share on other sites More sharing options...
AlmarM Posted May 27, 2008 Share Posted May 27, 2008 What u mean with changes? I did add $OldClip = ClipGet() ;Etc. $ClipPut($OldClip) Or Is it not THAT way u mean it? -AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now