I am trying to make a script that removes letters from a variable containing all the letters of the alphabet.
Here is my (faulty) script:
Code: Select all
Alphabet = ABCDEFGHIJKLMNOPQRSTUVWXYZ
Loop
{
InputBox, Word , , Remaining letters :`n%Alphabet%, , 300, 150, , , Locale
if ErrorLevel
ExitApp
Else
Alphabet := RegExReplace(Alphabet, "i)[%Word%]*", "")
}
It may be just a problem with the variables syntax, I'm not very good at this...
Thank you.