|
Audio Asylum Thread Printer Get a view of an entire thread on one page |
For Sale Ads |
41.183.0.21
In Reply to: RE: AHK script used in cMP (cicsRemote.exe) posted by cics on November 20, 2009 at 10:09:12
This works with cMP allowing for display to be turned off by pressing mouse button 2. I prefer using a mouse button as this allows for no keyboard. Display turns On by moving mouse or pressing keyboard.
Interesting approach to removing display overhead during playback - any sound improvements?
; cMP version 1.2
; cicsRemote.ahk 1.0b2
#NoTrayIcon
#SingleInstance Force
#HotkeyInterval 2000
#MaxHotkeysPerInterval 200
;Phase 0/180
XButton1::
send `;
return
;Display Off
XButton2::
KeyWait, XButton2
SendMessage, 0x112, 0xF170, 2,, A
return
;Stop&Exit OR Default View
MButton & LButton::
send !{f4}
return
;Next
RButton::
send ]
return
;Previous OR Navigation Back
MButton & RButton::
send [
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.
Save as cicsRemote.ahk and compile. Then copy new cicsRemote.exe to c:\program files\cics Memory Player. When using cMP, "Program Manager" doesn't exist (explorer), instead use "A" (i.e. send to active window).
Follow Ups:
Thanks for the script!
But whats the difference between
XButton2 for Screen Off
and
RButton for next song?
Whenever I press my right mouse button, I get the next song playing.
How do I activate the XButton2 instead of the RButton?
My mouse has only a Left-Wheel-Right buttons.
Thanks
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.
The command: SendMessage, 0x112, 0xF170, 2,, A
doesn't do the trick for shutting off my display though.
Thanks
Etienne
.
hi cics, was there ever any progress made on this? I had the same problem, I have a running screen with no VGA driver and it won't turn off.
It doesn't work without the video driver. Unfortunately, default driver won't do. Try installing driver and set as per cMP (i.e. resolution, no acceleration & write combining).
Thanks cics. With the VGA driver it worked a charm. Shame there's no way to do it without a VGA driver loaded.
Maybe because my remote is a 3 button remote?? Though the one post said "thanks for the 3 button version"
Post a Followup:
FAQ |
Post a Message! |
Forgot Password? |
|
||||||||||||||
|
This post is made possible by the generous support of people like you and our sponsors: