Cory, Thanks for the tip. I toyed around with the macro some more and came up with the following...
<LAUNCH PROGRAM AND ACTIVATE WINDOW Title="TV" Exact_Match="FALSE" Wildcards="FALSE" Path="C:\\Program Files\\ATI Multimedia\\main\\ATIMMC.EXE" Mode="\x00" Default_Path="TRUE" Wait="1" Wait_For_Program="12"/>
<TEXT TYPE Action="0" Text="<F3>"/> ;removes application window border and screen controls
<WAIT FOR TIME TO ELAPSE Hours="0" Minutes="1" Seconds="0"/>
<VARIABLE SET BOOL Destination="%ANS%" Command="263" Value="FALSE"/>
<REPEAT UNTIL Variable="%ANS%" Condition="\x00" Value="False"/>
<IF MESSAGE Caption="CNN" Message="Are You Still Watching CNN?" BtnMode="\x00" Default="FALSE" Left="Center" Top="Center" Monitor="0" Delay="10"/>
<WAIT FOR TIME TO ELAPSE Hours="0" Minutes="1" Seconds="0"/>
<END IF/>
<END REPEAT/>
<TERMINATE PROCESS Window="FALSE" Name="ATIMMC.EXE" Partial="TRUE" Wildcards="FALSE" Timeout="1000"/>
To restate the purpose...
The macro launches the video app. The video app runs for a period of time and then a pop up message is displayed, "are you still watching?", yes or no. If yes, the video plays for a little while longer. If no, the video app is closed. If "yes" is selected the macro enters a loop where after a period of time the message reappears and asks the "are you still watching" question and will continues to ask that question until there is no response, defaults to "no", exits out of the loop and closes the video app. The macro works if i let it default to "no". If i click "yes" to the message prompt, the macro seems to hang or just not work properly after that. Can you or someone please take a look at what i am doing and tell me where i am going wrong. Thanks.