Rank: Newbie
Groups: Approved
Joined: 6/28/2020(UTC) Posts: 3 Location: Sofia Thanks: 3 times
|
How can i create a gesture to trigger when i press 'ctrl'+'mouse wheel down' only
|
|
|
|
Rank: Advanced Member
Groups: Approved
Joined: 9/13/2018(UTC) Posts: 54 Thanks: 18 times Was thanked: 18 time(s) in 13 post(s)
|
Hi You mean this?
Place it in: Global Actions -> Mouse Events -> Mouse Wheel Script
Part of Rob's code has been used
Code:if (wheel.Delta < 0 && (sp.GetKeyState(vk.CONTROL) & 0x8000)) {
sp.MessageBox("ok", "Test");
} else {
//Default, pass mouse wheel message onto the original control
wheel.Control.PostMessage(host.cast(uint, 0x020A), new IntPtr(wheel.WParam), new IntPtr(wheel.LParam));
}
Edited by user Wednesday, July 1, 2020 10:45:42 PM(UTC)
| Reason: I forgot where to put it, SCRIPT, I mean script
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close