Jump to content
Macro Express Forums

mexmanz

Members
  • Posts

    7
  • Joined

  • Last visited

mexmanz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Update: I setup a test to clarify if the Outlook 2003 "New Message Alerts" window was causing a problem for the macro. It turns out that it is! Test 1: Running the macro to close the "New Message Alerts" window and repeating the macro found ME acting as if the "New Message Alerts" window was still running. The window had previously closed, was NOT running. Test 2: Running the macro as before, but adding a sequence to close and restart Outlook. This acted as a refresh and when the macro was repeated as before it ran correctly. ME did not think the "New Message Alerts" window was running! By adding outlook restart my whole macro runs perfectly now. Can anyone shed some light on how the alert tool works for Outlook 2003, the alert window is triggered by an email rule on arrival of specific type of email? Is there a process which continues to run after closing the "New Alert" window that conflicts with ME? Although I have fixed the macro, I don't want to be forced into restarting Outlook every time this macro runs? best regards Andrew
  2. 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
  3. Hi, Many thanks for your replies and direction provided. Having used Macro Express as a great resource for many years with simple macros, I am now creating more complex routines and learning as I progress. I have been trying to use GOTO command to jump forward and backwards within a macro depending on tasks being completed or not (some of these include IF functions). From your comments it looks like I should learn more about variables and intergers to see if the required function can be replicated this way. I will read up and test some senarios and report back if I find a solution. All the best Andrew
  4. Hi all, Looking for some clarification on the Goto/Label commands. Reading in Macro Express help, it seems that the GOTO command should be used within an IF routine in a macro. Is the GOTO command required to be used within an IF routine only, or can it be used independently to send the Macro back to a previous line (marked with a LABEL) as soon as the GOTO line is reached/activated? or should I be using a different command? I have a large macro which seems to be having issues with GOTO, where I want the macro to go back to the start after completing its required function. many thanks Andrew
  5. Supper, Thanks for pointing that out, just what is needed. cheers A.
  6. Hi, Is it possible to create a dialog box to appear during a macro with a yes or no button option. If yes - macro continues If no - macro will stop. many thanks Andrew
  7. Hi, I am looking to identify a hyperlink text in IE which is highlighted after landing on the link from tabbing through the webpage. I would either like to copy the displayed text of the hyperlink and use the IF command to verify if it contains a required variable, or Use a variable to confirm if the hyperlink selected is the correct one or not using another option. I hope I explained adequately! thanks Andrew
×
×
  • Create New...