Jump to content

Recommended Posts

Posted

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

Posted

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)

Posted

_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

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

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
  • Recently Browsing   0 members

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