I'm trying this script:
My intention is to tell HidMacros to recognize the current mouse X position, and add a 15 pixel offset through "MyVar", then Left mouse click to accept.
Code: Select all
'HIDmacros command HIDMacros.SendKeys "f" Dim MyVar MyVar = pos.x HIDMacros.MouseClick MyVar, 483, 1
I get an error with pos.X because this is not the right way to assign "x mouse position" on the screen. Which one is the correct method?