Jump to content
Macro Express Forums

ImpactGary

Members
  • Posts

    2
  • Joined

  • Last visited

ImpactGary's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. The value of all 3 variables (N2, N4 and N5) are correct and N1 is set to 1! I obtained those by running script in debug mode (pushing the "Run Test" button) and then 'Show Variable Values' in the debug sub-menu. So it looks like all the values are set correctly but the last 2 lines of my test code: <MOUSE MOVE Option="\x01" X="60" Y="87" _PROMPT="0x000A"/> <MOUSE LEFT CLICK/> and the execute BEFORE the "End Repeat" line is activated! How can you tell it iterates only once? I am relatively new to ME (wadding through this the best i can for now) and not sure what you mean by using named variables (I don't see anything in the help file or manual)? Also, how do you create a succinct example (I imagine your talking about creating a fully working example) and put code in tags? I can see how to put tags around a single line but is there an easy way to put tags around all of your lines? Thanks again for your help!
  2. It sounds like from the documentation that if I use a "Repeat Until" command that the macro should not continue executing past the "End Repeat" line UNTIL ALL conditions are meet for the "End Repeat" condition. However, this is not working for me. My macro is obviously continueing past the "End Repeat" line before the REPEAT function is satisfied. Any ideas/comments on this or am I just not understasnding? Please see attached file for my file and the tags below for the same. Thank you for your help in advance! <VARIABLE SET INTEGER Option="\x00" Destination="%N1%" Value="0"/> <REPEAT UNTIL Variable="%N1%" Condition="\x00" Value="1"/> <DELAY Flags="\x01" Time="2"/> <COMMENT Value="'Page' icon"/> <GET PIXEL COLOR Option="\x01" Rel_To_Screen="FALSE" X="30" Y="88" Destination="%N2%"/> <COMMENT Value="'Links' icon"/> <GET PIXEL COLOR Option="\x01" Rel_To_Screen="FALSE" X="48" Y="107" Destination="%N4%"/> <COMMENT Value="'Macros' icon"/> <GET PIXEL COLOR Option="\x01" Rel_To_Screen="FALSE" X="48" Y="394" Destination="%N5%"/> <IF VARIABLE Variable="%N2%" Condition="\x00" Value="14061138" IgnoreCase="FALSE"/> <AND/> <IF VARIABLE Variable="%N4%" Condition="\x00" Value="16241482" IgnoreCase="FALSE"/> <AND/> <IF VARIABLE Variable="%N5%" Condition="\x00" Value="16250871" IgnoreCase="FALSE"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N1%" Value="1"/> <END IF/> <DELAY Flags="\x02" Time="500"/> <END REPEAT/> <MOUSE MOVE Option="\x01" X="60" Y="87" _PROMPT="0x000A"/> <MOUSE LEFT CLICK/> COLOR test.mex
×
×
  • Create New...