Getting the error:
Line Text: switch %randNumber%
"Error: This line does not contain a recognized action"
;switches between one of the 6 user tabs
RandomizeTabSwitcher(){
Random, randNumber, 1, 6
switch %randNumber%
{
case 1:
return
case 2:
return
case 3:
return
. . .
}
}
Not sure what the issue is here when I’m following the switch doc
example
https://www.autohotkey.com/docs/commands/Switch.htm
Source: Windows Questions