Relative to mouse position

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Robotti
Newbie
Posts: 1
Joined: Tue Dec 11, 2018 2:03 pm

Relative to mouse position

Post by Robotti » Wed Dec 12, 2018 9:44 am

I have a very simple beginner's question. How I can record a macro which use the current mouse position as a reference point when macro is started using a hot-key? There is a relative setting but it's related to window origo.

User avatar
Grovkillen
Automation Wizard
Posts: 1131
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Relative to mouse position

Post by Grovkillen » Wed Dec 12, 2018 3:49 pm

Record and then tweak the generated code. You will need to use commands that the macro recorder don't use (how could it?).
Let>ME=%Script%

Running: 15.0.27
version history

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts