looks like i did not get mail for replies to this thread
Did you try with Trout player also, now that you have the soundfont working?
yes and it worked.
how come this one doesn't work with the .ahk
so you are saying that it doesn't work if not compiled?
mostly my player script is automaticaly compiled:
MainIcon=%A_ScriptDir%\Player.ico ;comment out if no icon.
if !A_IsCompiled ; Autocompiling
{
SplitPath, A_ScriptFullPath, , OutDir, , OutName
Icon:= MainIcon ? "/icon """ MainIcon """ " : ""
Process,Close, %OutName%.exe
Process,WaitClose, %OutName%.exe
RunWait, "%A_AhkPath%\..\Compiler\Ahk2Exe.exe" /in "%A_ScriptFullPath%" %Icon%/out "%OutDir%\%OutName%.exe"
Run, %OutDir%\%OutName%.exe ; run the compiled version
ExitApp
}