I am wondering if it's possible to have a Script read a file, for example a .txt-file and retrieve those as variables for later use in my script?
For example a .txt-file that looks like:
aaaaa = many letters
bbbbb = some other
ccccc = and someting different
ddddd = fourth one
eeeee = fifth one
And what I'm looking to do is something like this:
Code: Select all
FileRead, C:\Desktop\Test\testing.txt Msgbox, %aaaaa% ; MessageBox should read "many letters" MsgBox, %bbbbb% ; MessageBox should read "some other" MsgBox, %ccccc% ; MessageBox should read "and something different"
Additional information, this .txt-file will probably contain about 5 thousand different variables with minor changes daily so I'd rather not put it in my .ahk-script.