VoiceAttack
Profiles, Commands and Plugins => Profile and Command Discussions => Topic started by: Incurable-Rash on June 10, 2019, 11:57:47 AM
-
Is there a way for script/comand to pause and verify that the game/program has finished loading before continuing.
-
If you're launching an application using the "Run an Application" action, you can try its "Wait until launched application us started before continuing" option.
Other than that, you could try the "{WINDOWEXISTS:}" token, to see if the application has spawned its window.
However, neither will guarantee that an application is actually fully "loaded" in that it will properly process input; There is no method to check that within Windows, as far as I'm aware (as Windows has no way of knowing that a game, for example, has finished loading all its resources in the background).
-
Pfeil is correct. The, 'wait until started' option can only tell when the application starts accepting Windows messages and does not know what the application is doing from that point on (there would be no way to know unless the target app has some kind of api).
-
Its elite dangerous and yes the program does have API.
-
Sorry - I need to clarify that - If the application has an API that would allow you to test if the application is fully loaded.