OK,
Think I have found the bug causing issues and have isolated the script below!
In the first part of the Macro it is checking if the OUTLOOK "New Item Alerts" window is open.
If not open the macro just keeps restarting (this works fine).
The issue comes when the "New Item Alerts" window is open. The macro performs its function by closing this window and completing its task.
Only problem is when the full macro has completed I want the macro to redo this part and check if any new alets have arrived, or not.
When the macro script below is run for the second time and the "New Item Alerts" window is NOT running, macro acts as if it is!
Why is this, does ME have a variable in the background I need to reset, or is there something else I need to do? (there are no other windows running to conflit with the IF test)
<LABEL Name="RESTART"/>
<IF WINDOW Option="\x01" Title="New Item Alerts" Partial="TRUE" Wildcards="FALSE"/>
<WINDOW ACTIVATE Title="New Item Alerts" Exact_Match="FALSE" Wildcards="FALSE" _IGNORE="0x0006"/>
<DELAY Flags="\x01" Time="0.1"/>
<TEXT TYPE Action="0" Text="<ALTD>c<ALTU>"/>
<MACRO RUN Use_ID="FALSE" Name="2 - CHECK OUTLOOK" ID="-1" Wait="TRUE"/>
<ELSE/>
<GOTO Name="RESTART"/>
<END IF/>
Many thanks
Andrew