Hallo,
try:
The first 2000 shows that the expression (2000, 5000) has the numerical value 2000.
The second 2000 is the result of the string concatenation of the empty variable Random with 2000,
therefore:
Try:
try:
CODE:
MsgBox, % (2000, 5000) ; 2000
MsgBox, % Random (2000, 5000) ; 2000
The first 2000 shows that the expression (2000, 5000) has the numerical value 2000.
The second 2000 is the result of the string concatenation of the empty variable Random with 2000,
therefore:
CODE:
MsgBox, % "" 2000 ; 2000
Try:
CODE:
Sleep, % Random(2000, 5000)
Random(Min:="", Max:="")
{
Random OutputVar, %Min%, %Max%
return OutputVar
}
Statistics: Posted by Rohwedder — 13 minutes ago