Page 1 of 1

Need to move mouse off the main window so a popup invokes

PostPosted: Fri Mar 02, 2018 5:52 pm
by ChrisH
Evening.

Sorry late post Happy Friday!

I need to move the mouse off the main window so a popup will be invoked.

I've tried using actions and JavaScript, but no joy.

Can you help me please.

Thanks

Re: Need to move mouse off the main window so a popup invoke

PostPosted: Mon Mar 05, 2018 11:12 am
by eValid
ChrisH wrote:Evening.

Sorry late post Happy Friday!

I need to move the mouse off the main window so a popup will be invoked.

I've tried using actions and JavaScript, but no joy.

Can you help me please.

Thanks


This is a good question...one that we have not heard before ChrisH.

Indeed, there are some "autonomous JavaScript" actions that only happen when the mouse is NOT on a particular area.

Fortunately, eValid has two kinds of mouse-move command groups that will help you out.

(1) The commands: clMouseOver and xyMouseOver will position the mouse, in a specified window, at the given client (cl) or screen coordinate (xy) location that you specify.

All you need to do is to choose a location that is NOT on the area of choice and...there you go.

(2) The command groups: ElementMouse[Down/Out/Over/Up] and IndexElementMouse[Down/Out/Over/Up] will do this for you for all of the mouse-states like Down, Out, Over, and Up.

(There are four commands in each group.)

The trick here is that you have to know WHERE you want the mouse to be located.

In the case of the second command, you may have to learn a particular DOM index over which you want the mouse to be -- so that it is NOT in the are where its non-presence
will signal a JavaScript action.

This is tricky stuff.

Good luck and contact us if this doesn't work out for you.


-- eValid Support