Code: Select all
Sub Main
:loop
/call Taskadd
/goto :loop
/return
Sub Taskadd
/delay 3s
/if (${Window[ConfirmationDialogBox].Open}) /notify ConfirmationDialogBox Yes_Button leftmouseup
/return
Code: Select all
#Event Taskadd "#*#Expedition#*#"
Sub Main
:loop
/doevents
/goto :loop
/return
Sub Event_Taskadd
/delay 3s
/if (${Window[ConfirmationDialogBox].Open}) /notify ConfirmationDialogBox Yes_Button leftmouseup
/return
Code: Select all
/if (${Channel.NotEqual[${MyChannel}]}) /goto :line
Code: Select all
/if (${channel}=={mychannel}) /goto :line