Trying to read a file and output text
Posted: 13 Jul 2019, 20:20
Hello, I am trying to send keyboard outputs depending on the information in a text file, I am very new to AutoHotkey and I am unsure where this information would be I read FileAppend & file-reading loop and am unsure of how to go about this.
I am pretty new to AHK but this is what I have and it just flat out looks wrong to me.
My example of what I have:
I am pretty new to AHK but this is what I have and it just flat out looks wrong to me.
My example of what I have:
Code: Select all
ESC::ExitApp
#SingleInstance, Force
F7::
Loop, read, C:\Users\M\Desktop\logger.txt
If line, $Test {
Send, Hello!
}
else line, $Hello
Send, How are you!
}
else line, $how are you
Send, Fine!
}