home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
Where did the 'doubleclick to emulate right mouse button'-feature go?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dm15644" data-source="post: 370716"><p>Hi bloasfist,</p><p></p><p>I solved it with an Autohotkey script, see <a href="http://www.autohotkey.com/" target="_blank">AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText</a>:</p><p></p><p>[code]</p><p>LButton:: </p><p>if winc_presses > 0 ; SetTimer already started, so we log the keypress instead. </p><p>{ </p><p> winc_presses += 1 </p><p> return </p><p>} </p><p>; Otherwise, this is the first press of a new series. Set count to 1 and start </p><p>; the timer: </p><p>winc_presses = 1 </p><p>SetTimer, KeyWinC, 200 ; Wait for more presses within a 200 millisecond window. </p><p>return </p><p></p><p>KeyWinC: </p><p>SetTimer, KeyWinC, off </p><p>if winc_presses = 1 ; The key was pressed once. </p><p>{ </p><p> Send, {LButton}</p><p>} </p><p>else if winc_presses = >1 ; The key was pressed twice. </p><p>{ </p><p> Send, {RButton}</p><p>} </p><p></p><p>; Regardless of which action above was triggered, reset the count to </p><p>; prepare for the next series of presses: </p><p>winc_presses = 0 </p><p>return</p><p>[/code]</p><p></p><p>Cheers,</p><p>jayrock</p></blockquote><p></p>
[QUOTE="dm15644, post: 370716"] Hi bloasfist, I solved it with an Autohotkey script, see [url=http://www.autohotkey.com/]AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText[/url]: [code] LButton:: if winc_presses > 0 ; SetTimer already started, so we log the keypress instead. { winc_presses += 1 return } ; Otherwise, this is the first press of a new series. Set count to 1 and start ; the timer: winc_presses = 1 SetTimer, KeyWinC, 200 ; Wait for more presses within a 200 millisecond window. return KeyWinC: SetTimer, KeyWinC, off if winc_presses = 1 ; The key was pressed once. { Send, {LButton} } else if winc_presses = >1 ; The key was pressed twice. { Send, {RButton} } ; Regardless of which action above was triggered, reset the count to ; prepare for the next series of presses: winc_presses = 0 return [/code] Cheers, jayrock [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Where did the 'doubleclick to emulate right mouse button'-feature go?
Contact us
RSS
Top
Bottom