Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

shuffle number from 1 to 5

$
0
0

I have a script that has 5 inputs

these inputs are filled with number from 1 to 5

so:

input1 = 1

input2 = 2

input3 = 3 

input4 = 4

input3 = 5 

 

but I want it to shuffle the numbers like:

input1 = 4

input2 = 1

input3 = 5

input4 = 2

input5= 3

I dont want to use the Random function because then there is a possibilty It will chose number with the same value, I need a number from 1 to 5 to be shown but in different order


Viewing all articles
Browse latest Browse all 12506

Trending Articles