Jump to content
Macro Express Forums

Mouse Move Doesn't


cuppanews

Recommended Posts

I'm still trying to get this to work. If you have any ideas why it fails, I'd really like to know!

 

I'm entering text into a web form. My script is actually a bit more complicated than this, but the following reduces the problem to its simplest form.

 

The two screen positions (75, 284 and 75, 555) are fields in the form. The first Mouse Move puts the cursor in the first field. The first Text Type puts "Greetings" into that field. The Wait is there just to rule out the possiblity that I'm rushing the second Mouse Move. (I've also tried Wait for Text Playback and Wait Time Elapse for different durations with the same result in every case.) The second Mouse Move should put the cursor in the second field -- but it doesn't! The second Text Type appends "Hello" to "Greetings" in the first field.

Mouse Move Screen 75, 284
Text Type: Greetings
Wait Time Elapse: 0 Minutes 2 Seconds
Mouse Move Screen 75, 555
Text Type: Hello

 

Any thoughts?

Link to comment
Share on other sites

Moving the mouse is not enough, you must click in the new location.

Mouse Move Screen 75, 284
Mouse Left Button Click
Text Type: Greetings
Wait Time Elapse: 0 Minutes 2 Seconds
Mouse Move Screen 75, 555
Mouse Left Button Click
Text Type: Hello

Think about how you do this manually. You move the mouse to a location and the mouse arrow follows along. But until you click in the new location, the cursor stays where it was. The cursor indicates where text will appear when you type.

Link to comment
Share on other sites

Moving the mouse is not enough, you must click in the new location.

 

Think about how you do this manually. You move the mouse to a location and the mouse arrow follows along. But until you click in the new location, the cursor stays where it was. The cursor indicates where text will appear when you type.

 

Unbelievable. And obvious, I guess! Sigh...

 

Thanks for the followup, Kevin. My macro runs perfectly now...

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