PDA

View Full Version : Wait command



Rakonhere
October 13th, 2002, 12:55 PM
As near as i have figured Girder will only execute a command or commands within a multi command.

Try putting your commands like this

1. Window Exists "DScaler" then 2 else 3

2. Close "DScaler"

3. a. Execute "...dscaler.exe"
b. Wait for "DScaler" with 5000ms timeout
c. Command "DScaler" WParam=480 LParam=0 (go to fullscreen)

1 can be a single command. 2 can be a single command. 3 has to be a multi-command containing 3 commands. it should work then.


That or just change "startup options" from default to maximize on the execute command

<font size=-1>[ This Message was edited by: Rakonhere on 2002-03-28 04:22 ]</font>

Snakebite
October 13th, 2002, 12:55 PM
Hi,

well Girder is cool and all, but the Wait command isn't working very well. I'm trying to make DScaler go to fullscreen after I start it. This is my multicommand for turning DScaler on/off:

1. Window Exists "DScaler" then 2 else 4
2. Close "DScaler"
3. Stop Processing
4. Execute "...dscaler.exe"
5. Wait for "DScaler" with 5000ms timeout
6. Command "DScaler" WParam=480 LParam=0 (go to fullscreen)

It seems like this multicommand quits after line 5, it never reaches line 6. It's not that the command on line 6 is not understood by DScaler, because I tried putting other commands there for debugging, like turning on the screensaver. The target on line 5 must be right too, because I have the same target on line 1 and 2. Any ideas anyone? I'm using Girder 3.1.0 beta 17b.

Snakebite
October 13th, 2002, 12:55 PM
I got your procedure to work with notepad at least. I'll fiddle some more with DScaler. Thanks!