Quick Drop Enthusiasts

cancel
Showing results for 
Search instead for 
Did you mean: 

Moving BD objects with mouse wheel instead of arrow keys.

In an attempt to keep my hand from going back and forth on the keyboard I've taken Darren's advice and put all my QD shortcut keys left hand reachable.

Although this has been a time saver I still find myself often moving my left hand over to the arrow keys to adjust the position of BD items.

I would like to create a QD shortcut that uses the new scroll wheel event to move selected items a pixel at a time instead of having to use the arrow keys.

I've built a few QD shortcuts but haven't tried anything like this.

Has anyone tried using events inside of QD shortcuts or can point me to code that does?

Also any advice would be appreciated.

Thank

Mark

0 Kudos
Message 1 of 11
(9,222 Views)

This sounds like a fantastic tool.  I imagine holding shift makes the object move multiple pixels at a time. You will need a way to indicate that movement is over. Maybe use spacebar. Interestingly this could be done on versions before 2013 but the new events may make it easier.

0 Kudos
Message 2 of 11
(5,668 Views)

I agree that this would be a great shortcut, but I couldn't find a straightforward way to implement it. For one thing, the Mouse Wheel event is only available on controls and panes. For another, the VI containing the control/pane registered for the Mouse Wheel event must be running (or reserved for running).

Perhaps there's a hacky way to do this where you could have an invisible panel appear under the mouse that could capture the events?

If somebody can figure out a decent way to implement this, I know I'd find it useful.

0 Kudos
Message 3 of 11
(5,668 Views)

Oh what I had in mind was hacky for sure.  The quick drop command would run the VI that then keeps looking for mouse input moving the selected objects until some operation tells the running VI to stop.  I may give it a try and see what I come up with.  But to be honest I don't mind moving my hand off the mouse quickly then back but maybe this would change my programming flow to where I would prefer it.

0 Kudos
Message 4 of 11
(5,668 Views)

Okay I have a "working" prototype but can you seriously not upload attachments to a discussion?  Where can I put this?

0 Kudos
Message 5 of 11
(5,668 Views)

Hooovahh wrote:

Okay I have a "working" prototype but can you seriously not upload attachments to a discussion?  Where can I put this?

A new "Document" in the Quick Drop Enthusiasts group I suppose, and then include a link to it in this thread.

0 Kudos
Message 6 of 11
(5,668 Views)