xG00BERx Posted November 5, 2013 Share Posted November 5, 2013 I was wondering if there was a way to increase the letters using send.... Example: "a" goes to "b" then "b" goes to "c" get it? Then once it gets to "z" it goes to "aa" then "ab" get what I am saying? I have had some trouble? Or maybe there is an easier way to do this? I had an idea.... Perhaps you could load a file with the words you wanted preloaded on each line as it read down it would send? Thanks for your help and your time -xG00BERx Link to comment Share on other sites More sharing options...
Jfish Posted November 5, 2013 Share Posted November 5, 2013 (edited) You can send ASCII characters (see appendix) for $a=97 to 110 Send("{ASC "&$a&"}") Next Also, as to from a list ... #include<Array.au3> dim $wordlist[5] = ["cat","dog","pizza","soda","Patriots Football Rocks"]; an array that holds the list to send for $a=0 to ubound($wordlist)-1 send($wordlist[$a]&@crlf) Next ; then you could also read the list from a file into an array or from a spreadsheet This can help you read it into an array from a file #Include <File.au3> _FileReadToArray($sFilePath, ByRef $aArray) Edited November 5, 2013 by Jfish Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
xG00BERx Posted November 5, 2013 Author Share Posted November 5, 2013 Ok i see how this works kind of but how would I make it go aa ab ac ad ae etc.... This only goes through the first line... Link to comment Share on other sites More sharing options...
xG00BERx Posted November 5, 2013 Author Share Posted November 5, 2013 Hrmm Confusing right now but I will have to play with it. I will play with this here in a little bit more then get back to you I just need help on wha i listed above momentarily ago... (Btw I very much appreciate your help with this so far!) Link to comment Share on other sites More sharing options...
Jfish Posted November 5, 2013 Share Posted November 5, 2013 (edited) for $a=97 to 110 Send("{ASC "&$a&"}") Send("{ASC "&$a&"}") Next It would probably help if you shared some information on what exactly you are trying to do This will automatically increase from a single letter to double letters ... for $outerloop = 1 to 2 for $a=97 to 110 for $b=$outerloop to 1 step -1 Send("{ASC "&$a&"}") next Next Next Edited November 5, 2013 by Jfish Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
PhoenixXL Posted November 5, 2013 Share Posted November 5, 2013 aa ab ac ad ae Then "a" is taken common out For $i = 97 To 97+25 Send("a" & Chr($i)) Next My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
BrewManNH Posted November 5, 2013 Share Posted November 5, 2013 Password cracker? If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
xG00BERx Posted November 5, 2013 Author Share Posted November 5, 2013 Then "a" is taken common out For $i = 97 To 97+25 Send("a" & Chr($i)) Next This is exactly what I needed minus one thing lol... I might be able to figure it out but while I have you I might as well learn from your examples... My last question (I hope) is how do i send it from just "aa" "ab" "ac" "ad" Rather then one lining all of it Thanks so much to the both of you. Im trying to pick this apart and make it perfect as well as learn from the examples you have shown me! Link to comment Share on other sites More sharing options...
xG00BERx Posted November 5, 2013 Author Share Posted November 5, 2013 Password cracker? Tbh kind of. My Schools Admin (I am the schools tech's aid needs something to test the security of this program another student wrote but he does not write code himself...) Hope that kind of made sense. I was trying to learn and get a solution without breaking rules... Link to comment Share on other sites More sharing options...
BrewManNH Posted November 5, 2013 Share Posted November 5, 2013 IBTL If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
xG00BERx Posted November 5, 2013 Author Share Posted November 5, 2013 IBTL What does IBTL mean? Link to comment Share on other sites More sharing options...
water Posted November 5, 2013 Share Posted November 5, 2013 http://www.urbandictionary.com/define.php?term=IBTL 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...
Moderators Melba23 Posted November 5, 2013 Moderators Share Posted November 5, 2013 xG00BERx, Password cracker?Tbh kind ofThen this will not surprise you...thread locked. Please read the Forum rules (there is also a link at bottom right of each page) before posting again. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts