jakonline Posted December 15, 2011 Share Posted December 15, 2011 how to send whole string in once instead of sending letter by letter. i have tried to set SendKeyDelay to 0ms, but it still send letter by letter, thx. Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 15, 2011 Share Posted December 15, 2011 Try using ControlSetText. Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
jakonline Posted December 15, 2011 Author Share Posted December 15, 2011 (edited) ControlSetText is different from what i want,... it can't be sent repeatly HotKeySet("{f2}","send_string") while 1 Sleep(1000) WEnd Func send_string() ControlSetText("", "", "", "abc") EndFunc Edited December 15, 2011 by jakonline Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 15, 2011 Share Posted December 15, 2011 And this way it isn't fast enough? Opt('SendKeyDelay', 0) Opt('SendKeyDownDelay', 0) Send('100000000000000000000000000000000000000000000000000000000000000000000') Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 15, 2011 Share Posted December 15, 2011 _send('100000000000000000000000000000000000000000000000000000000000000000000') Func _send($text) Local $tmp = ClipGet() ClipPut($text) Send('^v') ClipPut($tmp) EndFunc ;==>_send Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
jakonline Posted December 15, 2011 Author Share Posted December 15, 2011 (edited) oh,yes, it's much faster, i didn't know that SendKeyDownDelay also affects the sending speed, thank you ! therefore, here's an extra problem i noticed, when opt("SendKeyDelay",5) opt("SendKeyDownDelay",5) both default speed 5 and when it's sending, u can hear some small continual noise from your hard disk, i wonder if it's a little bit harmful or not... the noise sound also appears when using MouseMove to point your mouse. HotKeySet("{f2}","send_string") Opt('SendKeyDelay', 5) Opt('SendKeyDownDelay', 5) while 1 Sleep(1000) WEnd Func send_string() Send(clipget()) EndFunc Edited December 15, 2011 by jakonline Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 15, 2011 Share Posted December 15, 2011 Those commands do not effect your hard drive. Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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