Author |
Topic |
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 05:13:19
|
I make this gesture, to increase and decrease the volume. I use this code: acSendKeys("{VOLDOWN}") with V gesture and then I spin
The problem is that when I make de gesture, the volume increase or decrease, but only a little bit, not the entire time in wich I spin the scroll wheel.
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 09:30:48
|
Do you have Fire Recognition on Mouse Wheel Scroll* checked under Preferences?
|
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 13:32:34
|
No I haven't. I have a mouse Gygabite wich has no application, and in control panel, on the mouse settings, there is no such option. |
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 13:44:44
|
I mean in the Preferences tab in StrokesPlus. |
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 13:53:15
|
Oh, soryy. Yes, was checked. If I deselect it, all gesture with scroll whell, doesn;t work anymore. Not at all. Zoom and volume. If I check that checkbox, work again, but about 10% maybe less from volume. I need to rezolva that problem, because I can;t use it anymore. The weird thing is that in the begeaning, this was working, and then, I don't know when, it stop working. |
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 14:32:28
|
Do you mean it's only changing the volume a very small amount? Or it only changes it a little then stops?
Paste your action scripts here. |
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 14:39:31
|
acSendKeys("{VOLUP}") acSendKeys("{VOLDOWN}") This is the code and is checked "Scroll up or down, according with command.
I observ that this is happens on zoom too. Same behavior.
|
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 14:43:17
|
And the behavior is just like this: I make the gesture with right click pressed, I keep pressed right click and I spin the wheell. The zoom makes only 2-3 steps in, and than out. The volume increase or decrease very few steps. I you divide the volume bar from windows in ten parts, the gesture mouve volume one part. |
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 14:46:18
|
quote: Originally posted by Rob
Do you mean it's only changing the volume a very small amount? Or it only changes it a little then stops?
I have the exact same scripts and they work fine for me. Do you have any keyboard software? Since all it does is send that keystroke (which might be intercepted by keyboard software).
You can also try using the scripts in this post. Those directly change the volume in Windows, instead of sending a keystroke to adjust volume. |
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 14:49:03
|
I have a laptop and I don't know about any kind of software. Weird is that before I make all my gesture, it was working.
|
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 14:55:53
|
And yes, works beautifull. For zoom there is another code for this? |
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 14:56:56
|
What are your current zoom scripts? |
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 14:57:51
|
acSendKeys("^{PLUS}") acSendKeys("^{SUB}") |
Edited by - mesersmith on 10/31/2013 14:58:09 |
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 15:00:47
|
Hmm, not sure about that one...that's just the standard hotkey to zoom. Again, it works fine for me in Chrome, not sure what is happening on your system/configuration.
If you close S+, backup your StrokesPlus.xml, and replace it with the standard StrokesPlus.xml from the download ZIP, does it work properly? I'm trying to determine if there's something specific to your configuration that's causing the issue, or something outside of S+. |
|
|
mesersmith
Romania
45 Posts |
Posted - 10/31/2013 : 15:19:08
|
It works worst. When I make Z gesture and spin the wheell, it changes tabs on Chrome.
|
|
|
Rob
USA
2615 Posts |
Posted - 10/31/2013 : 15:30:02
|
Well that doesn't make any sense. I'm not sure what to tell you, something is certainly goofed up, but I can't reproduce it on my side, so it's hard for me to help you fix it.
The only thing I can suggest is to try simplifying to debug, make a simple gesture without the wheel scroll and see if zooming works. Press CTRL+ and CTRL- to see if it actually zooms in Chrome.
You could also try sending the mouse wheel events to zoom instead of the key commands.
Zoom In:local WM_MOUSEWHEEL = 0x20A
local WHEEL_POS = 0x00780000 --standard 120 tick of a mouse wheel scroll up, pre-left-shifted for simplifying usage below
local WHEEL_NEG = 0xff880000 --standard -120 tick of a mouse wheel scroll down, pre-left-shifted for simplifying usage below
local MK_CONTROL = 0x08
--Control + Scroll Up
acPostMessage(acGetWindowByPoint(gsx, gsy), WM_MOUSEWHEEL, WHEEL_POS+MK_CONTROL, bit32.lshift(gsy,16)+gsx) Zoom Out:local WM_MOUSEWHEEL = 0x20A
local WHEEL_POS = 0x00780000 --standard 120 tick of a mouse wheel scroll up, pre-left-shifted for simplifying usage below
local WHEEL_NEG = 0xff880000 --standard -120 tick of a mouse wheel scroll down, pre-left-shifted for simplifying usage below
local MK_CONTROL = 0x08
--Control + Scroll Up
acPostMessage(acGetWindowByPoint(gsx, gsy), WM_MOUSEWHEEL, WHEEL_NEG+MK_CONTROL, bit32.lshift(gsy,16)+gsx) |
|
|
mesersmith
Romania
45 Posts |
Posted - 11/02/2013 : 05:30:58
|
With this code works great. Thanks a lot.
|
|
|
|
Topic |
|