HyperNext Studio

HyperNext Studio => General => Topic started by: Jeff on February 15, 2011, 02:28:19 AM

Title: Can we move the mouse cursor using HN?
Post by: Jeff on February 15, 2011, 02:28:19 AM
I was wondering can HyperNext move the cursor on screen to where you wanted it to go.

Is there a code for this, how do you do this if possible?

Okay so how do you mouse move this cursor on the screen and then it clicks an image by using a button on a card?

thanks
Title: Re: Can we move the mouse cursor using HN?
Post by: Malkom on February 15, 2011, 09:49:29 AM
Quote from: "Jeff"
I was wondering can HyperNext move the cursor on screen to where you wanted it to go.

Is there a code for this, how do you do this if possible?

Okay so how do you mouse move this cursor on the screen and then it clicks an image by using a button on a card?

thanks

Yes, there are commands for moving the mouse and simulating a mouse click:-

Code: [Select]
@ Move to coords x & y
MouseMove(x,y)
 
@ Mouse click
MousePress

There is a demo project bundled with HyperNext that shows how to move the mouse - its called Second Life Mouse Mover and is meant to prevent timeouts from the Second Life viewer.