Sign in to follow this  
Followers 0
Scripty

Slowing down the Send("How you doing") Speed

4 posts in this topic

Hi

I Use the Send(".....")

to Wrote some Special line for me in Messenger.. so i just have to select one key...

But cus it send alle the key so fast its sometimes missing them

If it was:

Send("Hi Friend how you doing?", 1)

=

riend how you doing?

So i wondered if there was a way to speed it down

so its wrote 1 letter / 100 mili sekonds...

Regards

Share this post


Link to post
Share on other sites



Use the readme next time.

SendKeyDelay

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.

Opt("SendKeyDelay", 100)

Share this post


Link to post
Share on other sites

_Send("This is a string that should look more random in typing")



Func _Send($var)
    
    $aVar = StringSplit($var,"")
    For $i = 1 to $aVar[0]
        Send($aVar[$i])
        Sleep(Random(100,1000))
    Next
    
EndFunc

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

_Send("This is a string that should look more random in typing")



Func _Send($var)
    
    $aVar = StringSplit($var,"")
    For $i = 1 to $aVar[0]
        Send($aVar[$i])
        Sleep(Random(100,1000))
    Next
    
EndFunc
Nice code. That looks much better then the 'opt settings'. And more humanity. Edited by cparadis

Share this post


Link to post
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
Sign in to follow this  
Followers 0