How to speed up SEND?
#1
Posted 31 July 2012 - 11:23 PM
Send("hello!")
Can I make it, that in 1 second it would said 100 times Send("hello!") ??
#2
Posted 31 July 2012 - 11:28 PM
#3
Posted 01 August 2012 - 01:16 AM
- elektron likes this
How to ask questions the smart way!
Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.
Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.
_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.
GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.
#4
Posted 01 August 2012 - 11:16 AM
Thirdly, if this goes towards making an auto-spammer for some game don't expect too much help.
I know the forum rules, and I know what I'm asking for. This isn't for a game neither is it a spam bot.
I just want-to learn everything possible about this. Like 100 times in one second was just something.
I might need 10 times in one second or something like that.
#5
Posted 01 August 2012 - 11:43 AM
Edited by czardas, 01 August 2012 - 11:43 AM.
#6
Posted 01 August 2012 - 12:22 PM
I couoldn't understand anything about the "SendKeyDelay" though.. Is there any example or something.. Please/
#7
Posted 01 August 2012 - 01:00 PM
For $i = 1 To 100 Step 1
Send("hello")
Next
I think that's about as fast as it will get as SetOption 0 removes any delay
010101000110100001101001011100110010000001101001011100110010000001101101011110010010000001110011011010010110011100100001My first project Allin1 Program launcherBill CalculatorGot <Insert problem here>?There's an AutoIt script for that!
#8
Posted 01 August 2012 - 01:24 PM
#9
Posted 01 August 2012 - 02:05 PM
AutoItSetOption ( "SendKeyDelay" , 0 )
For $i = 1 To 100 Step 1
Send("hello")
Next
I think that's about as fast as it will get as SetOption 0 removes any delay
Can't this be even FASTER ?
#10
Posted 01 August 2012 - 02:08 PM
There is no delay, so I think that it should be the maximum speed.Can't this be even FASTER ?
#11
Posted 01 August 2012 - 02:11 PM
Already seems fast enough to me? What do you need to make that would need to send keys so many times in a small amount of time. There are probs alternative solutions.Can't this be even FASTER ?
#12
Posted 01 August 2012 - 02:22 PM
- czardas likes this
#14
Posted 01 August 2012 - 02:28 PM
Opt("SendKeyDelay", 0) Opt("WinTitleMatchMode", 2) ClipPut("hello") $sWindowTitle = "Put window title here." WinActivate($sWindowTitle) For $i = 1 To 100 ControlSend($sWindowTitle, "", "", "^v") Next
tested both the previous post and this one in notepad and there's about a 1/2 second difference XD
Edited by mechaflash213, 01 August 2012 - 02:32 PM.
#15
Posted 01 August 2012 - 02:32 PM
#16
Posted 01 August 2012 - 03:23 PM
Edited by lawonama, 01 August 2012 - 03:26 PM.
#17
Posted 01 August 2012 - 03:29 PM
Here's their contact information and corporate headquarters location.
Just tell Ginni that you want to borrow him for a day or two.
Edited by mechaflash213, 01 August 2012 - 03:55 PM.
#18
Posted 01 August 2012 - 03:57 PM
Simple answer, NO it can't be that much faster. It takes time to send the characters to a window, the window takes time accepting them, this all adds up to a delay. It's similar to a propagation delay in a network or electronic circuit. Even though the electrons are speeding along at nearly the speed of light, the delay introduced by the circuitry is going to make things take longer than it would take to send it by other means, such as a fiber optic cable has a VERY slight propagation delay but the circuits needed to translate what was sent so other equipment can understand it introduces a larger delay.Nevermind it worked.. But can't it be even MORE faster?
How to ask questions the smart way!
Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.
Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.
_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.
GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.
#19
Posted 01 August 2012 - 04:57 PM
Yes you can get it to go a little bit faster if you are prepared to spend a few thousand of the fastest PC availble.Nevermind it worked.. But can't it be even MORE faster?
#20
Posted 01 August 2012 - 05:25 PM
Nevermind it worked.. But can't it be even MORE faster?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users





