Have you attempted using PRE and POST for the timing?
<"SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">
<"SCRIPT TIMING="POST" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">
When using POST LAUNCH to execute a script, there's no guarantee that the application UI will be ready when the script runs, so you'll
need to check for that yourself in the script.