Jump to content

Recommended Posts

Posted

Hello guys...long time since i used autoit...i need help: I want to set a number for a letter, I mean if it finds a letter in a string then find the number wich coresponds to that letter and add with with something. I have to set a number for each letter but I don't know how to do that...and then if it finds the letter in the string let's say it will show a MessageBox with the number set to corespond with that letter....hope you get it i'm bad at explaining...10x for reading :)

Posted

Hello guys...long time since i used autoit...i need help: I want to set a number for a letter, I mean if it finds a letter in a string then find the number wich coresponds to that letter and add with with something. I have to set a number for each letter but I don't know how to do that...and then if it finds the letter in the string let's say it will show a MessageBox with the number set to corespond with that letter....hope you get it i'm bad at explaining...10x for reading :)

How about:

StringInStr()

IniReadSection(LettersToNumbers.ini,MyConversionTable)

- assuming you want your own unique numbers or else you could use Asc()

"and add with with something". ??? whats adding to what numbers, strings?

The above will give you all the variables you need to display in the MsgBox()

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...