Posted: Fri Jan 16, 2004 5:36 pm
Here's another odd thing:
My monitor takes a few seconds to initialize while powering up before it will accept a command to switch to a particular input. So my regular power on macros for DVD or watching through replay tv or watching directly from the cable box etc does the following:
1. Send discrete on to the monitor,
2. Do a toadtog check to see if monitor was already on,
3a. If monitor was already on, switch to input X and continue with the rest of the macro,
3b. If monitor was not already on, insert a pause (e.g. 3 seconds) and then switch to input X and continue with the rest of the macro.
Here's the odd thing...the pause is working great, but no matter how long I make it, the monitor will ignore the command to switch to a given input if the monitor was off to start. But if the monitor was already on, the same macro will work fine to switch the input.
However, if I throw a Dev_TV command in the macro right after the toadtog check, it works perfectly. And this isn't a question of the pause being insufficient, since I cranked the pause way up and never got anywhere. It is as if, by calling the phantom key that has the toadtog command, the macro lost the idea that the active device is TV (so that when I repeat the Dev_TV command after the toadtog call, all is well). I've got it all working now through that workaround, but I'm curious about this odd behavior...Why does it do that??
My monitor takes a few seconds to initialize while powering up before it will accept a command to switch to a particular input. So my regular power on macros for DVD or watching through replay tv or watching directly from the cable box etc does the following:
1. Send discrete on to the monitor,
2. Do a toadtog check to see if monitor was already on,
3a. If monitor was already on, switch to input X and continue with the rest of the macro,
3b. If monitor was not already on, insert a pause (e.g. 3 seconds) and then switch to input X and continue with the rest of the macro.
Here's the odd thing...the pause is working great, but no matter how long I make it, the monitor will ignore the command to switch to a given input if the monitor was off to start. But if the monitor was already on, the same macro will work fine to switch the input.
However, if I throw a Dev_TV command in the macro right after the toadtog check, it works perfectly. And this isn't a question of the pause being insufficient, since I cranked the pause way up and never got anywhere. It is as if, by calling the phantom key that has the toadtog command, the macro lost the idea that the active device is TV (so that when I repeat the Dev_TV command after the toadtog call, all is well). I've got it all working now through that workaround, but I'm curious about this odd behavior...Why does it do that??