Jump to content

Need some help , easy for you , hard for me!


Recommended Posts

Ok i made myself a script for clicking moving mouse and i added some delay, Now i need to put a super bank of sentences ( i ll make it later) into the script then i need to know how to make the script pick a random sentence then make it write it like if someone was using the keyboard.

I' m a begginer dont be rude :' (

i do my best.

Link to comment
Share on other sites

Hmmm... look in the helpfile for these three functions:

Send - used to send text

_ArrayAdd - create an array, look at the example for this function

Random - Generate a random number, the number will be used to as an index to get an item from your array.

Here's a starter:

Local $avArray[10]

$avArray[0] = "JPM"
$avArray[1] = "Holger"
$avArray[2] = "Jon"
$avArray[3] = "Larry"
$avArray[4] = "Jeremy"
$avArray[5] = "Valik"
$avArray[6] = "Cyberslug"
$avArray[7] = "Nutster"
$avArray[8] = "JdeB"
$avArray[9] = "Tylo"

$index = Random(0, 9, 1); Generates and interger from 0 to 9
Msgbox(0, '$index = ' & $index, $avArray[$index])
My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Link to comment
Share on other sites

I scare my teacher with this

$String="Hello, I'm Ghost !!!"
$Array=StringSplit($String,"")
For $i=1 to Ubound($Array)-1
Send($Array[$i])
Sleep(500)
Next

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

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...