41.183.0.21
| '); } else { document.writeln(''); } } else { document.writeln(''); } } else { document.writeln(''); } } // End --> |
In Reply to: RE: Revised AHK script for use in CMP Mode allowing for Display Off when pressing mouse button 2 posted by etiennelemay@gmail.com on November 21, 2009 at 11:26:47
Revised version above requires a 5 button mouse (XButton1/2 go beyond L/R/Wheel).
I've removed Previous / Next navigation (as this can be achieved using the wheel). In its place are Phase 0/180 and Display Off. Script:; cMP version 1.2
; cicsRemote.ahk 1.0b3: full functionality using 3-button mouse
#NoTrayIcon
#SingleInstance Force
#HotkeyInterval 2000
#MaxHotkeysPerInterval 200
;Phase 0/180
RButton::
send `;
return
;Display Off
MButton & RButton::
KeyWait, RButton
KeyWait, MButton
SendMessage, 0x112, 0xF170, 2,, A
return
;Stop&Exit OR Default View
MButton & LButton::
send !{f4}
return
;Volume up
MButton & WheelUp::
send +{Home}
return
;Volume down
MButton & WheelDown::
send +{End}
return
;Navigation Up
WheelUp::
send {Up}
return
;Navigation Down
WheelDown::
send {Down}
return
;Navigation Forward OR Select Item (OK)
MButton::
KeyWait, MButton
send {enter}
return
; compile and run script.
Here's a summary of the new remote control functions:
To compile script:
- Download AHK and install on your home PC
- Save (using notepad) above script as "cicsRemote.ahk"
- Right-click "cicsRemote.ahk" and select Compile (or Start > All Programs > AutoHotKey > Convert .ahk to .exe > Select "cicsRemote.ahk" > Convert)
- Copy "cicsRemote.exe" to cMP² (c:\program files\cics Memory Player)
- Be careful not to run "cicsRemote" as your mouse functions will be changed. To remove it, you must kill "cicsRemote.exe" or "AutoHotKey.exe" from Task Manager.
Follow Ups:
Post a Followup: