Hi! I have a problem I put a EndIf statement at the end of my script and the "No EndIf Statement" Error still shows up here is my script:
run("notepad.exe")
winwaitactive ("Untitled - Notepad")
$text = wingettext ("[active]")
If stringinstr($text, "type stuff") then
send("{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}")
send("like what?")
sleep(1000)
("{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}")
If stringinstr($text, "my callsign") then
send("{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}")
send("KD8LVT")
sleep(1000)
send("{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}{BS}")
$quit=1;quit = 1 so the script will exit the loop and end
EndIf
And I am Sooooooooooo sorry if this is in the wrong spot this is my firs post... i also attached the file of the script.interactive.au3