StrokesPlus.net Forum
»
General Discussion
»
Scripts
»
Trigger for capturing two mouse clicks at same time?
Rank: Newbie
Groups: Approved
Joined: 12/5/2021(UTC) Posts: 6 Thanks: 3 times
|
I want to capture if both mouse buttons (e.g. left and right) at same time. Tried different things in the mouse events (including playing with time on delayed timers) and searched this forum and in the web - found no working solution.
Any ideas?
|
|
|
|
Rank: Advanced Member
Groups: Translators, Approved Joined: 7/17/2021(UTC) Posts: 135
Thanks: 35 times Was thanked: 18 time(s) in 15 post(s)
|
Hi,
You might want to check rocker gestures in sample S+ scripts, basically they work by pressing one of the mouse buttons first and then pressing second button in a wave-like-flow. So there are two possible directions, left-then-right or right-then-left.
You can put the same action script for both of the possible rocker combinations and it should trigger either of the two scripts every time both mouse buttons are pressed with slight (humanly) delays.
This is not exactly what you asked but might be useful.
|
1 user thanked randomConstant for this useful post.
|
|
|
Rank: Newbie
Groups: Approved
Joined: 12/5/2021(UTC) Posts: 6 Thanks: 3 times
|
Ahh.. Your are right. Had wondered the whole time what the rocker thing was about 😃 In the capture modifiers there is an option 'either' which covers pretty much, what i am searching for. Thanks mate!
|
|
|
|
Rank: Advanced Member
Groups: Translators, Approved Joined: 7/17/2021(UTC) Posts: 135
Thanks: 35 times Was thanked: 18 time(s) in 15 post(s)
|
Oh yes, either would be better for a single script. Glad you found a solution.
|
|
|
|
StrokesPlus.net Forum
»
General Discussion
»
Scripts
»
Trigger for capturing two mouse clicks at same time?
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