Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drag w Right Click pressed down
#1
I thought this would be simple

I want the macro to hold down the right mouse button and move 1 pixel up (drag with right mouse button)
Macro
Trigger U     Help - how to add the trigger to the macro
Code:
Copy      Help
rig+
mou+ 0 1

But the right mouse button is released for some reason before the move is executed.
#2
when i do it just freezes my QM, i click run and the run stays down :|

but here is code that will work

sorry fixed it

Function Function9
Code:
Copy      Help
;Hold mouse down on right
rig+


;Move mouse up 1 pixel
mou+ 0 -1

;Release mouse after 2 seconds
wait 2
rig-
#3
I am trying to position QM Toolbar next to each other with fine precision.

The code you provided makes sense to me as much as mine did (w/o the rig- though)

In my code, I get the context menu instead of a drag effect
In your code, I get the context menu 2 seconds later instead of the drag effect

I've no idea why this won't work
#4
Accidentally double posted originally - see other post for Gintara's replies


Forum Jump:


Users browsing this thread: 1 Guest(s)