Script to move mouse cursor?

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
vmpietila
Posts: 2
Joined: 29 Mar 2012, 14:55

Script to move mouse cursor?

Post by vmpietila » 29 Mar 2012, 15:01

Hello,

I need help for making macro. My need is quite simple:
When I press button from my second keyboard (for example F or similar), mouse cursor moves to selected place on screen (X.Y)



Any examples? This is quite a easy bit to do, but my skills are yet so good :-)

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Script to move mouse cursor?

Post by admin » 30 Mar 2012, 06:51

Have a look at http://www.hidmacros.eu/scripting.php#mouse
You should just define macro with script command:

Code: Select all

HIDMacros.MouseClick x, y, 0
Petr Medek
LUAmacros author

vmpietila
Posts: 2
Joined: 29 Mar 2012, 14:55

Re: Script to move mouse cursor?

Post by vmpietila » 30 Mar 2012, 09:29

Ok!

Post Reply