Jump to content
Sign in to follow this  
xG00BERx

Increasing Letter Text

Recommended Posts

xG00BERx

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

Share this post


Link to post
Share on other sites
Jfish

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 by Jfish

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Share this post


Link to post
Share on other sites
xG00BERx

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...

Share this post


Link to post
Share on other sites
xG00BERx

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!)

Share this post


Link to post
Share on other sites
Jfish

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 :huh2:

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 by Jfish

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Share this post


Link to post
Share on other sites
PhoenixXL
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.

Share this post


Link to post
Share on other sites
BrewManNH

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 Gude
How 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

Share this post


Link to post
Share on other sites
xG00BERx

 

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 :P

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! :D

Share this post


Link to post
Share on other sites
xG00BERx

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...

Share this post


Link to post
Share on other sites
BrewManNH

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 Gude
How 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

Share this post


Link to post
Share on other sites
xG00BERx

IBTL

 

What does IBTL mean?

Share this post


Link to post
Share on other sites
water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-12-03 - Version 1.4.11.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Melba23

xG00BERx,

 

Password cracker?

Tbh kind of

Then this will not surprise you...thread locked. :naughty:

Please read the Forum rules (there is also a link at bottom right of each page) before posting again. ;)

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______Open Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×