Author |
Topic |
|
dt14
3 Posts |
Posted - 04/26/2020 : 00:58:00
|
Hello!
The one that is most comfortable to me so far is the Logitech Marble Mouse
I faced a problem
his trackball has 4 buttons and NO SCROLL WHEEL!
I find a script
--Scroll UP
acSendKeys("{PGUP}")
--Scroll DN
acSendKeys("{PGDN}")
But sometimes don't work
EX: http://www.recordtripping.com/
find another script
https://www.strokesplus.com/scripts/13
1.how to scrolls one page?
2.If click the back Button(XButton 2) ,just a click, this works for opening/closing tabs, scrolling (you click it again to stop scrolling, etc)?
Thanks, Any help would be greatly apreciated. |
Edited by - dt14 on 04/27/2020 23:20:36 |
|
dt14
3 Posts |
Posted - 04/28/2020 : 08:02:52
|
Newbie...
script for old strokesplus v2.8.6
Original
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)
--Control + Scroll Down acPostMessage(acGetWindowByPoint(gsx, gsy), WM_MOUSEWHEEL, WHEEL_NEG+MK_CONTROL, bit32.lshift(gsy,16)+gsx)
modify
-- Scroll Up local WM_MOUSEWHEEL = 0x20A local WHEEL_POS = 0x05a00000 --standard 1440 tick of a mouse wheel =12 ring i am not sure...
acPostMessage(acGetWindowByPoint(gsx, gsy), WM_MOUSEWHEEL,WHEEL_POS, bit32.lshift(gsy,16)+gsx)
-- Scroll Down
local WM_MOUSEWHEEL = 0x20A local WHEEL_NEG = 0xff0880000 -- i am not sure......is work
acPostMessage(acGetWindowByPoint(gsx, gsy), WM_MOUSEWHEEL, WHEEL_NEG, bit32.lshift(gsy,16)+gsx)
|
Edited by - dt14 on 04/29/2020 01:43:56 |
|
|
Hard.Wired
84 Posts |
Posted - 04/28/2020 : 23:14:24
|
I'm missing something. How is this different from just using:
acActivateWindow(nil, gsx, gsy, 1) acSendKeys("{PGUP}")
or
acActivateWindow(nil, gsx, gsy, 1) acSendKeys("{PGDN}")
|
|
|
dt14
3 Posts |
Posted - 04/29/2020 : 04:04:59
|
Thank you for helping! |
|
|
|
Topic |
|
|
|