Jump to content

about sending string


 Share

Recommended Posts

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

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

_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

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 by jakonline
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...