Oxbile Posted July 13, 2016 Share Posted July 13, 2016 Is There Any Commands That Can Create A Random Variable. I know How To Do This In Batch --------------------------------------------------------------------------------------------------------- set %variable%=%random% >nul.save set %variable%=%random% < nul.save --------------------------------------------------------------------------------------------------------- is there any way to imatate that in autoit? Link to comment Share on other sites More sharing options...
Synapsee Posted July 13, 2016 Share Posted July 13, 2016 While 1 ;https://www.autoitscript.com/autoit3/docs/functions/Random.htm $iVar = Random(1, 2, 1) ;https://www.autoitscript.fr/autoit3/docs/functions/MsgBox.htm MsgBox(0, "", $iVar) WEnd Link to comment Share on other sites More sharing options...
Oxbile Posted July 13, 2016 Author Share Posted July 13, 2016 1 hour ago, Synapsee said: While 1 ;https://www.autoitscript.com/autoit3/docs/functions/Random.htm $iVar = Random(1, 2, 1) ;https://www.autoitscript.fr/autoit3/docs/functions/MsgBox.htm MsgBox(0, "", $iVar) WEnd and how to load it in send? sorry im new. Link to comment Share on other sites More sharing options...
l3ill Posted July 13, 2016 Share Posted July 13, 2016 $iVar = Random() Send($iVar) or Send(Random()) Sahar 1 My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
Oxbile Posted July 13, 2016 Author Share Posted July 13, 2016 32 minutes ago, l3ill said: $iVar = Random() Send($iVar) or Send(Random()) thx. Sahar 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now