Apple Aluminum Keyboard

Filed Under (software) by Javier Plumey on 08-11-2007

Tagged Under : , , ,

Just picked up the new aluminum keyboard from Apple. It feels really nice on my wrists and I love the feel of the flat keys. I did have some issues with it, but only when running it with Windows. I use a Mac for all my personal and ministry stuff but I have to use Windows at work. Here’s what I had to deal with and how I fixed the issues:

  1. No number lock key. There’s no key labeled Num Lock. I found this post and it cleared that up for me.
  2. Without having to install all kind of crazy Apple boot camp drivers for this thing, which I tried and had real problems, I had no way to access the special keys that change the volume, eject the CD, etc. Most important to me are the volume controls since I listen to music while working and often need to quickly lower the volume when I get a call. To get around this I found some scripts for a product called Autohotkey that will allow me to use the Command Key as a windows key to change the volume and also to mute the entire system. Here is the script, which is based on the work of the people at the AutohotKey forums, thanks! Check the jump for the script.

;_________________________________________________
;_______Volume OSD Script - Rajat_______________
;_________________________________________________

;_________________________________________________
;_______User Settings_____________________________

;Make customisation only in this area or
;hotkey area only!!

;change characters for empty & full bar here
Full = |
Empty = -

;Customise Hotkeys in Hotkey Customisation Section
;(below the next section)

;___________________________________________
;_____Auto Execute Section__________________

; DON’T CHANGE ANYTHING HERE!!
; (unless u know what u’re doing)

SetFormat, float, 0.0
SetTimer, splashoff, 1000
SoundGet, currsnd1
SetTimer, CheckMute, 1000

;Building Empty Bar
Loop, 100
EmptyBar = %EmptyBar%%Empty%

Display:
SoundGet, currsnd
if currsnd1 <> %currsnd%
{
TrayTip,Volume, %curr% %currsnd1%`% ,,17
currsnd1 = %currsnd%
}

setenv, presstime, %A_MDay%%A_hour%%A_Min%%A_Sec%
envadd, presstime, 2
SetTimer, SplashOff, On
return

Splashoff:
setenv, presstime2, %A_MDay%%A_hour%%A_Min%%A_Sec%
ifgreaterorequal, presstime2, %presstime%
{
TrayTip
SetTimer, SplashOff, off
}
return

;___________________________________________
;_____Hotkey Customisation Section__________

; User defined hotkeys here

;Volume_Up:: ;comment this line if u uncomment the ones below.
#up:: ;Uncomment to assign Vol Up to Win-Up
#MaxHotkeysPerInterval 50
SoundSet, +1
SoundGet, currsnd
mark=0
curr=%EmptyBar%
loopup:
mark += 1
iflessorequal,mark, %currsnd%,StringReplace, curr, curr,%Empty%,%Full%
iflessorequal,mark, %currsnd%, goto, loopup
gosub, display
return

;Volume_Down:: ;comment this line if u uncomment the ones below.
#down:: ;Uncomment to assign Vol Down to Win-Down
#MaxHotkeysPerInterval 50
SoundSet, -1
SoundGet, currsnd
mark=0
curr=%EmptyBar%
loopdown:
mark += 1
iflessorequal,mark, %currsnd%,StringReplace, curr, curr,%Empty%,%Full%
iflessorequal,mark, %currsnd%, goto, loopdown
gosub, display
return

#left::
Clip =
SoundSet, +1, , mute
return
;___________________________________________

;__________MUTE DETECTION BY COMPUBOY_R

CheckMute:
SoundGet,checkmute,,MUTE
if checkmute = On
{
TrayTip,Volume,MUTE,,1
mutetray = yes
}

else
{
if mutetray = yes
{
TrayTip
mutetray = no
}

}

return

Powered by ScribeFire.

Post a comment