Jump to content
Macro Express Forums

vorg

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by vorg

  1. 1 hour ago, rberq said:

     

    Macro Return means exit from the macro, NOT start over at the beginning of the script.  A bit confusing, yes....

     

    I like the script you listed, because it allows for the possibility that the correct color will NEVER appear.  The Repeat loop looking for color will eventually end whether it finds the color or not.  So if it ends without finding the color, you would never know -- except that the macro AGAIN double-checks the color after exiting or finishing the Repeat, and only if it ended successfully does it go on with its normal functions. 

     

    When I say the Repeat loop will "eventually" end even if the color is not found, you will have to be very patient.  One million repeats, with 1/5 second delay each time, may keep you up beyond your bedtime.  If you want it to wait 30 seconds, say, before giving up -- then change the Repeat command to 150 instead of 1,000,000.

    i tried with 100 150 200, the problem was that Macro Return wasn't for what i tough, my mistake didn't knew that.
    my question will be, there is a way to do that? making the macro to start over from the beginning without going over the whole script ?

  2. the color my macro search for is white and im sure that it's the exact color, i got the location and the color from another macro that already works for a different task, when i said "green" i was referring to what i highlighted on the image, the macro execute all that but it stops, normally as i understood the macro should return to the beginning of the macro when it sees  macro return on the script, apparently it doesn't, it just stops

  3. Hello everyone,

    I'm trying to automate a task that involves waiting for a specific color to appear on a specific area of the screen for a maximum amount of time and then performing a set of actions. Is this possible with Macro Express? If so, how can I accomplish this?

    I have been using Macro Express Pro 6 for a while now and I love it. However, this is the first time I have come across a task that requires me to do this. I would greatly appreciate it if someone could guide me in the right direction.

    Thank you in advance for your help.

    Best regards,
    Vorg

  4. my question is simple, there is a a way to do a while loop in macro express pro ? it seem like i can't do it with macro express trough basic tools, maybe trough external script ? i want a while loop to check for two colors variables, each color in a specific area of the screen, while the two colors are detected, each on their respective area, execute something. 
    Anyone can help me with that ? Thanks.

  5. Oh now i get why i had a wrong decimal value, it's BGR not RGB, didn't knew that the mouse locator was showing the decimal value too, i tough i had to do a conversion in a 3rd party service, at some point in the beginning i had a suspicion that the value the launche mouse locator was showing is the decimal value, but since the conversion services i used were all giving me the same decimal value that was different from the Launche mouse locator was giving me i tough it wasn't the decimal value, now i reversed the 3 values and indeed they give me the same launch mouse locator value.

    Sir, your teaching was really helpfull to me, thank you again for your time and your knowledge sharing, i really appreciate that.

  6. Hi everyone, im new to Macro express and im trying to do what many  of you may consider a simple task.
    so im trying to use the get pixel color function, in the manual the macro script example is:

    Get Pixel

    If Variable %N[1]% = 255

    Text Type: <TAB> 123xyz

    Else

    Web Site: https://www.macros.com

    End If

    im trying to do something similar, like if this x color is detected in a specific pixel do this chain of command, else do a different chain of command , i already made the commands that i want the macro to execute in both cases, but i still don't know how to make the conditions using the color detection in a specific area of the screen to execute the commands, i don't really knows how this work on macro express i tried different things to figure this out but no luck.
    thank you for taking time reading and potentialy helping me to figure this out.

×
×
  • Create New...