Jump to content
Macro Express Forums

What causes this puzzling behaviour?


Recommended Posts

This is going to have an obvious cause, but so far I've not spotted it.

 

This macro (an extract) is scoped to the window 'File Upload' and is is activated by a left click in a small area as shown:

 

MacroPuzzle-1.jpg

 

It should simply click the 'View Icon' menu.

 

Mouse Move: 456, 38 Relative to Current Window

Mouse Left Click

 

But running it also causes the window to move down about 25 pixels.

 

MacroPuzzle-2.jpg

 

What am I missing here please?

 

EDIT: Sorted thanks. Immediately after posting it occurred to me that it was probably a timing issue. By adding a Delay of 0.1 s as the very first command, the problem vanished. I'll leave this as an example in case others encounter a similar puzzle.

 

 

--

Terry, East Grinstead, UK

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...