Home Computer Audio Asylum

Music servers and other computer based digital audio technologies.

AHK script used in cMP (cicsRemote.exe)

cMP's Remote control is explained here. Script below is used in all cMP versions. For further development you'll need to install AHK.

How do you plan to turn display On/Off?


; cMP version 1.0b
; cicsRemote.ahk

#NoTrayIcon
#SingleInstance Force
#HotkeyInterval 2000
#MaxHotkeysPerInterval 200

;Stop
XButton1::
send `;
return

;Stop&Exit OR Default View
XButton2::
send !{f4}
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) OR Stop&Exit (on double-click)
MButton::
if (A_PriorHotkey <> "MButton" or A_TimeSincePriorHotkey > 400)
{
;Too much time between presses, so this isn't a double-press.
KeyWait, MButton
send {enter}
return
}
;MsgBox Double-pressed the Middle Mouse button.
send !{f4}
return

; compile and run script.



This post is made possible by the generous support of people like you and our sponsors:
  Amplified Parts  


Follow Ups Full Thread

FAQ

Post a Message!

Forgot Password?
Moniker (Username):
Password (Optional):
  Remember my Moniker & Password  (What's this?)    Eat Me
E-Mail (Optional):
Subject:
Message:   (Posts are subject to Content Rules)
Optional Link URL:
Optional Link Title:
Optional Image URL:
Upload Image:
E-mail Replies:  Automagically notify you when someone responds.