Jump to content
Macro Express Forums

camaro92

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by camaro92

  1. What about using the macro to grab the X and Y location of the cursor?? I don't see that as a feature in pro? Looks like just a " Mouse Move: X, Y Relative to Current Window" ?

     

    Can we not somehow grab the X and Y location and use THAT X and Y setting. Then move the mouse directly over to that X and Y location rather than using the feature to move the mouse to the text cursor which obviously doesn't work.

     

    If you click a link in firefox and go back it shows that link encased (selected) in a light outlined box. Is that location a way to determine the X and Y?

  2. I have a macro that first uses the FIND feature in firefox to search for a word, it then ESC to the window itself (out of the FIND bar) then TAB's a couple times so it lands on a specific button.

     

    The problem I am having is trying to get the macro to get the COLOR under that button.

     

    Now normally a

     

    // Test the colour of the Find box

    Mouse Move: 100, 703 Relative to Current Window

    Get Pixel Color from Beneath the Mouse into %N[3]%

    // If colour is WHITE (16777215) then there is a hit.

    If Variable %N[3]% Equals "16777215"

    Text Box Display: WHITE

    Else

    Text Box Display: NOT WHITE

    Endif

     

    Is fine, except that the button is NOT always in the same area of the screen. However if the macro can simply jump to where ever the current tab went to, I could likely use that to find the color.

     

    I've tried

     

    Mouse Move: To the Text Cursor Position

     

    but it seems that the MOUSE itself does not move to the TABBED location so the

     

    Get Pixel Color from Beneath the Mouse into %N[3]%

     

    doesn't work..

     

     

    Help!

  3. How would I be able to search for a word (Example: "hello") on a page and IF the word "HELLO" exists then do something, and if it does NOT exist then do another instead.

     

    I can easily execute a FIND command in the browser to look for a word but that's it.. How would I incorporate that into the script so the script can tell whether that FIND command resulted in a RESULT or NOT FOUND RESULT..??

     

    Or is there an easier way of doing it rather than using the browser FIND technique?

     

    Thanks

×
×
  • Create New...