Where did the 'doubleclick to emulate right mouse button'-feature go? (1 Viewer)

bloasfist

Portal Pro
November 16, 2006
177
10
Home Country
Netherlands Netherlands
Started on: 2009-01-24
last update: 2009-01-24

Summary: Title says it al.

Area: all of mediaportal

Description: If i remember correct, there used to be a feature to let MP interpretate a doubleclick as a right mouse click. Since i mainly use a touchscreen to control mediaportal, this was a very handy feature. However, somewhere along the way towards 1.0 this feature got removed. Do i remember this correctly? And if so, why is it removed. Most important question: can we get this feature back?
 
D

dm15644

Guest
Hi bloasfist,

I solved it with an Autohotkey script, see AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText:

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

Cheers,
jayrock
 

Users who are viewing this thread

Top Bottom