Gan Posted April 8, 2015 Share Posted April 8, 2015 I'm using AutoIT for some high precision button mashing in C# and am wonder if it'd be possible to have the Send command be faster? I've clocked it to about 10ms per Send command. 10ms is a good speed but I'm not just mashing one button, I'm mashing at least 4 and the overall speed goes down to 40ms per key which is pretty bad. I multi-threaded my project, increased timer precision but it's being held down by the Send command's execution time. I made an identical program in Obj-C using Apple native libraries and I can get button mashing down to half a millisecond latency. How can I decrease the Send command latency in AutoIT? Thanks, Gan P.S. Here's my code if you fellas would like to gander: https://github.com/MatthewFrench/LeagueAutoKeyPresser Link to comment Share on other sites More sharing options...
JohnOne Posted April 8, 2015 Share Posted April 8, 2015 SendKeyDelay SendKeyDownDelay Options Help file. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
iamtheky Posted April 8, 2015 Share Posted April 8, 2015 Dont allow gaming scripts here. The question is generic enough that minus the link and the partial name, the question should pass scrutiny. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2015 Developers Share Posted April 8, 2015 Please read our forum rules first before continuing in our forums. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts