I am having problems with keep an image mounted and I think with WaitForApp.

This is how I have the script set up

Mount

RunApp

WaitForApp--Time out 10 sec and Wait for application to be terminate

Unmount

Due to how the game runs I can not alt-tab or any the from the game main, I have to wait until I start a game. by that time the disk is unmounted and the game quit because the is no game disk mounted.

If I change it to Wait for application to be executed with the 10 second wait I can get the game started but I restart the game from the main menu the game quits.


First question I have is: in WaitForApp, do you wait the full path for the application? or just the name of it?

Second question:Is it ok for timeout to be 10?


Any other solutions would be welcomed.

Thanks in advance!