Jump to content
Macro Express Forums

How to select a button?


Recommended Posts

On 2/28/2020 at 3:38 PM, terrypin said:

To make sure I’ve correctly understood:

1. What is your screen resolution?

2. Is the middle of the target button, which you’re clicking, at roughly 1520, 220, using Tools > Mouse Locator?

3. Using my amended code for the move, with those coordinates, does the button now get activated correctly and consistently?

4. If not, what exactly is the behaviour you get?

5. If your mouse is battery-powered, is it in need of replacement?

6. Are there any other clues from mouse or graphics quirky behaviour in other apps?

 

1. 1920 x 1080

2. No. See image

 image.png.ec9ac04ef179ade3dd957aab9abef125.png

3. This is the code I am using: <MOUSE MOVE Option="\x01" X="1504" Y="221" _PROMPT="0x000A"/>   I haven't tried 1163,176 because the mouse positioning is working reliably so far. Since I reduced the delay time from 800ms to 100ms, I have not had a problem with the button being selected. 

4. Well, when it was set to about 1200,176, the mouse simply went to the wrong spot on the screen. Same when I tried "window."

5. corded mouse

6. None at all.

 

Link to comment
Share on other sites

39 minutes ago, John Welch said:

Yes, thanks. In this case window and screen are always the same.

 

Your original screenshot shows that your 1920 x 1080 screen was on that occasion not occupied by your maximised program. So that's a possible cause of earlier confusion about your Mouse Locator readings.

 

image.thumb.png.61b4f9b3b85f3401d58d9797cb1157b7.png

Link to comment
Share on other sites

I see what you mean. That was actually a screen shot of the screen in my capture program. I just wanted to show the button and we had not gotten into the positioning and all that. Nor was the mouse cursor in any particular place. The actual screen has absolutely no visible controls for resize, or min-max nor any scroll controls.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...