I am sure I am doing this wrong but here is what is going on.
I am opening up deltarune and trying to get the script to hit F4 to full screen it. Now the script works just fine if I run it straight from the desktop. However it definitly is giving me issues through Attractmode. As it opens the game but will not seem to Hit F4
Executable C:\Program Files (x86)\SURVEY_PROGRAM\DELTARUNE.exe
Working Directory C:\Program Files (x86)\SURVEY_PROGRAM
Rom paths C:\Users\MyriadArcade\Desktop\Attract Mode\attract-v2.4.1-win64\emulators\DeltaRune
Rom extensions .ahk
And here is the script file
Run, DELTARUNE.exe, C:\Program Files (x86)\SURVEY_PROGRAM, max
Sleep, 3000
Controlsend,,{F4}, ahk_exe DeltaRune.exe
Which again runs just fine from the desktop but not with attractmode. I am certain I am calling the AHK file wrong but I am still learning the ropes here. Any advise would be welcome.