Arclite86 Posted February 20, 2015 Share Posted February 20, 2015 I have a large list of random names and i want autoit to random choose on but i forgot how i can do that. can somebody help me with this Link to comment Share on other sites More sharing options...
water Posted February 20, 2015 Share Posted February 20, 2015 Put the names into an array and use function Random to select one of them. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
jdelaney Posted February 20, 2015 Share Posted February 20, 2015 Local $array[5]=["jim","bob","blah","blah2","blah3"] ConsoleWrite($array[Random(0,UBound($array)-1,1)] & @CRLF) IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Luigi Posted February 20, 2015 Share Posted February 20, 2015 See this UDF, generate a random names. This build with portugues gramatic, but, its easy to change to another gramatic. I think. [0][0]Ipuwynel Rifud [1][0]Pobak do Utapeda [2][0]Ryge Jowakub [3][0]Faqe Aknivo [4][0]Voja de Salu [5][0]Unkuxe Inhikowo [6][0]Jidoxu Estihabe [7][0]Tamo Abune [8][0]Dajos Ucubuwadu [9][0]Jusy Içara [10][0]Buno Ablejesiqadi [11][0]Ilhutejug Huco [12][0]Witinu Onkoguhoguso [13][0]Yçyrus do Viru [14][0]Gyqacyc de Urripowari [15][0]Astipica Afahekafico [16][0]Pakap Loxo [17][0]Ubratuku Essivawi [18][0]Tomivud Iblubahatub [19][0]Quhuhu de Omenomi [20][0]Opocymuc do Fobofamike [21][0]Nimimo do Uphufux [22][0]Unyxa Legituvudev [23][0]Cyxacyx Ateladexe [24][0]Voga do Qefokug [25][0]Dyqifev Enkihevi [26][0]Alhacybod de Onkorutag [27][0]Bocu Oretegapako [28][0]Gefo do Kinego [29][0]Vilob do Wulobotobuf [30][0]Mewyty Ostodacukir Br, Detefon nomes.au3 Visit my repository Link to comment Share on other sites More sharing options...
water Posted February 21, 2015 Share Posted February 21, 2015 I have a large list of random names ... Where do you have this list of names? In a text file, a database, an Excel Workbook ...? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki 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