the link at.
http://www.gammon.com.au/forum/?id=4956
tells me that you can add pauses in alias, and you say as much as that, you can wait for a specific line of text before waiting the required time and then executing your command
can you give me an example of how to do this?
i would want it to be something like.
<aliases>
<alias
match="l *"
enabled="y"
send_to="12"
sequence="100"
>
<send>Send("open door")
DoAfter (1, "turn on light")
wait for text "the light is now active"
DoAfter (2, "kill %1")</send>
</alias>
</aliases>
The command would first wait to receive the light is now active and then wait two seconds after which it will kill whatever..
thanks
Jack
http://www.gammon.com.au/forum/?id=4956
tells me that you can add pauses in alias, and you say as much as that, you can wait for a specific line of text before waiting the required time and then executing your command
can you give me an example of how to do this?
i would want it to be something like.
<aliases>
<alias
match="l *"
enabled="y"
send_to="12"
sequence="100"
>
<send>Send("open door")
DoAfter (1, "turn on light")
wait for text "the light is now active"
DoAfter (2, "kill %1")</send>
</alias>
</aliases>
The command would first wait to receive the light is now active and then wait two seconds after which it will kill whatever..
thanks
Jack