Friday, May 27, 2011

Mimic Compiz Zoom in Windows 7

The most thing that i miss once i log into windows is the compiz zoom using the winkey and the mouse wheel feature on linux , i tried to search for alternative but with no luck each time till i read an article recently on lifehacker which shows that the new built in magnifier in windows 7 has a mode to magnify the whole screen rather than certain part (aka docked mode) , that was great news except the shortcut keys are Winkey +/- and can't be changed !!.

After some searching i found a program called autohotkey that could serve me in solving this issue , any way if you aren't into technical details you can grab the compiled version and start using it immediately.
Otherwise , here is the complete source code of the script
; Created By :
;     Ahmed Kotb on 27/5/2011
; licensed under :
;     Creative commons Attribution 3.0
; version :
;     1.0

; A small script that enables you to zoom in/out using the winkey
; and mouse wheel instead of winkey +/- on windows7 magnifier program

SendMode Input
SetWorkingDir %A_ScriptDir%

;zoom in
#WheelUp::send #{sc4E}
;zoom out
#WheelDown::send #{sc4A}

You may need to alter the default zoom value instead of 100%  to a more usable amount , iam fine with 25%

Hope you find it useful.

5 years of kotbcorp

Two days ago this blog completed its 5th year  :). So congratulations to my self and Thanks for the few followers that have been here for ...