Jump to content

Recommended Posts

Posted

I don't want to waste your time, so please could you paste the string to send a capital letter?

I already tried

send("{capslock on}b{capslock off}")

and also shift. So, paste here and I'll be happy :(
Posted (edited)

ok I managed to do this. now i'm having another problem that I can't fix. when I use a switch to make a random letter, it sends numbers. example:

case returns letter c

it sends .21744761290029

----

tyvm for your time, i needed to use the flag on random to get integer numbers. see you

Edited by faithless
Posted (edited)

shit!

now the program gets the same random values every time!

ty again, the random was out of the while

Edited by faithless
Posted (edited)

What do you need it to do?

A random upper case letter can be generated like this

Local $aLetters = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZ","")
   Local $RandomLetter = $aLetters[Random(1,26,1)]
   Msgbox(0,"Random Letter", $RandomLetter)

Or a Random upper case string of 6 characters

Local $aLetters = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZ","")
Local $RandomString = ""

For $i = 1 to 6
    $RandomString &= $aLetters[Random(1,26,1)]
Next

Msgbox(0,"Random String",$RandomString)
Edited by ChrisL

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
×
×
  • Create New...