StrokesPlus Forum
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
 All Forums
 General Discussion
 General Discussion
 wheel mouse without modifier

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List

* Forum Code is ON
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

Check here to subscribe to this topic.

T O P I C    R E V I E W
plunt Posted - 12/21/2012 : 10:17:06
I would to increment and decrement volume with wheel mouse when the acGetMouseLocationX() < 5 but without use the left click modifier. Do it is possible?
6   L A T E S T    R E P L I E S    (Newest First)
Rob Posted - 04/21/2016 : 19:05:29
control_freak: You may want to check out WinSpy:

It will help you find window class names, etc. It will probably be very insightful in helping you to create the scripts you're looking for!
control_freak Posted - 04/21/2016 : 17:38:58
hey will it be possible to send volup or voldown command when my cursor is on taskbar?
breakcore Posted - 12/21/2012 : 15:25:09
functions will do it. Also I've never considered sp_before_action and sp_after_action before, good to know.
Rob Posted - 12/21/2012 : 14:42:19
Unfortunately not since the first match fires the script and exits; the code is rather complicated and that's simply not even close to be able to do.

However, that might be something where you could define function(s) in Global Lua which are called by the global and app's action. The app would have it's own script, and then calls the function if x<5. Of course, that's not terribly different than just copying the script..but it is what it is. The sp_before_action and sp_after_action functions may also be something you could use.

In the end, there's no way to have them both run as when you think about it for different scenarios, it goes against the point of having separate apps and global actions.

Of course, you could delete the app's action and have the check within the global action. Meaning, the global action fires and checks to see if the desired app is under the mouse, if so it also does what you originally had as the app action. Does that make sense? You're essentially defining the app within the global action.
breakcore Posted - 12/21/2012 : 11:16:35
At first I thought this is a good idea, but then realized that this would require to capture and process all wheel events - not good.
Anyway I have another question raised -is it possible to process global actions along with app actions? for example if i have (mouse_wheel+mod.button) in global actions set to run script if acGetMouseLocationX()<5 and same in app actions to run script if acGetMouseLocationX()>5
Rob Posted - 12/21/2012 : 10:26:49
The stroke button must be pressed for S+ to recognize any mouse wheel events; otherwise it would interfere with normal operation (based on the purpose of S+).

I'm guessing that's what you mean, to simply be able to move to mouse to < 5 and roll the wheel without pressing anything else.

StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000