Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

Help bind Rbutton click/hold to another hotkey combo

Posted by mousehappy 
Help bind Rbutton click/hold to another hotkey combo
September 24, 2013 08:06PM
Hi - would someone please help me bind this? I'm just stumped!

Actual Window Manager lets me do a drag-scroll in MS Paint
by pressing the hotkey combo CTRL + R button (holding both),
then I can drag the mouse & scroll the page/window contents both hor. & vert. --

instead of having to go over and grab the scrollbar every time
(Of course I have to just release and then re-press/hold the R button
to change the scroll direction.)

(I've tried some scrolling type apps, but they always break my involved setup
of AHK, StrokeIt, and KatMouse.)

I want to be able to ONLY press & hold the R button, along with some mouse button action --
no keyboard contact! --
and be able to drag-scroll.

I guess I could use some "gesture" --
but remember that the Rbutton is being held down & moving, to perform the scroll -
so it's already involved as a gesture in order to scroll.

My default StrokeIt is Right Button.

I tried setting Action = LBUTTON_UP, Command = [CTRL_DOWN],
and it does "work", but the binding won't stop when I release the Right Button --
plus it messes up other things outside of the Paint app.

Somehow I should be able to write some direction that takes advantage of my default
action of pressing the Right Button.

and it seems like the Command needs to be in the Keystrokes section.

Thanks for your Help ~
Leo
Re: Help bind Rbutton click/hold to another hotkey combo
September 28, 2013 05:26AM
Hello mousehappy,

Doing things with your "draw button" is not a good idea. What about [url=http://www.autohotkey.com/board/topic/85219-universal-autoscroll-possible-in-ahk/]this[/url] simple script ?

Thank you

Leo
Re: Help bind Rbutton click/hold to another hotkey combo
September 29, 2013 07:16AM
Leo, thanks very much for responding -
I did send an emails to your .tk address from my gmail address [ dh ].

I know it's not the best idea to try & bind the "draw" button --
the best alternative I can think of, and that I've tried to code,
is to use < press & hold both the L & R buttons >

then bind this to Actual Window Mgr hotkey combo ---
the AWM choices are to use either <Shift or Ctrl or Alt or Win> + either <L or Middle or R> button.

In my web searches, I've found some people who actually prefer to use the mouse
to draw this way in some apps - by pressing both mouse buttons -
seems to steady their hand better.

This "hand-grab-drag-scroll" functionality seems to be natively present in browser windows,
as well as in Adobe Acrobat - so why the heck is it so difficult to code this into such an
apparently stupid-simple application as MS Paint???

The AWM people have been able to code it into their application -
I've emailed them to ask Help with my modification request,
but have received no respone yet in a week.

I just think that a relatively simple AHK script should work --
and no one responds over at the AHK forum despite courteous, clear requests for HELP !!!!!!

-------------------

#IfWinActive, ahk_class MSPaintApp

~LButton & RButton::Send !{Click Down}
#IfWinActive

--------------------


-------- back to your suggestion -- the referenced post doesn't work for my intentions.
I need the granularity of being able to horizontal scroll especially -
but no autoscrolling in the sense of acceleration and click to start/click to stop.

How the heck have the AWM people coded it?

It's near-perfect --
I press Alt + LButton --- I can minutely scroll any direction --- when I release those 2 keys,
the script Stops !!! --- perfect !!

plus, it doesn't break any of the other multiple scripts/apps that I have running --
it's probably amazing that all my stuff works together -
AHK + STrokeIt + KatMouse + AWM !!! --

and all of this is bound to a 9-button Logitech G300 mouse !!!

maybe I should just accept it & shutup,

except that -- as I bet you've probably felt somewhere along the way --
it's the challenge & the certainty that "somehow, this is possible to do!" --
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 15 plus 11?
Message: