ScriptKiddie 0 Posted February 7, 2005 ive been working on a simple program that executes moves for streetfighter, ive noticed when autoit types that it types extremely fast but when doing the moves on street fighter theres a half a second delay between the moves when theres no sleep any help on improving the time? also i know i posted this in my other thread but i figure since its a different topic i could post in a diff thread Share this post Link to post Share on other sites
Insolence 2 Posted February 7, 2005 Try using SendMessage with a DLL call "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Share this post Link to post Share on other sites
ScriptKiddie 0 Posted February 7, 2005 how do i do that? im new to this lol Share this post Link to post Share on other sites
Insolence 2 Posted February 7, 2005 Oh. I thought you were someone whose been here a while, sorry. That's the only idea I have right now, nothing simple comes to mind. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Share this post Link to post Share on other sites
buzz44 1 Posted February 7, 2005 (edited) there is a way u can do it .. when i first started autoit i made the script that opens up notepad and rights the date or wateva .. i made my own one that typed sum stupid msg and i was able to change the speed that it wrote it .. i forget wat i did now but i think i used sleep?? Edited February 7, 2005 by burrup qq Share this post Link to post Share on other sites
phillip123adams 0 Posted February 7, 2005 ive been working on a simple program that executes moves for streetfighter, ive noticed when autoit types that it types extremely fast but when doing the moves on street fighter theres a half a second delay between the moves when theres no sleep any help on improving the time?Perhaps one of the following will help:1. Window related functions are controlled by WinWaitDelay (default is 250 ms). When doing alot of window functions, adjusting this can really speed things up.2. Send is controlled by SendKeyDelay (default = 5 ms)3. Some Mouse functions are controlled by the function's speed option. Phillip Share this post Link to post Share on other sites
therks 31 Posted February 7, 2005 (edited) Opt('SendKeyDelay', 5)"Alters the the length of the brief pause in between sent keystrokes.Time in milliseconds to pause (default=5). Sometimes a value of 0 does not work; use 1 instead."*Edit: Damn you phil Edited February 7, 2005 by Saunders My AutoIt Stuff | My Github Share this post Link to post Share on other sites
Insolence 2 Posted February 7, 2005 Well I thought of that, but since the delay is 1/2 second's I assumed he didn't change that. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Share this post Link to post Share on other sites