05 December 2014

Making OneNote transparent or switching desktops with script

I was recently introduced to mDesktop that a friend of mine was running for having multiple desktops with a simple and lightweight implementation.


Looking through the Github project i learned that it was build upon scripts from AutoHotKey that where compiled to exe.


Wanting to find out more about the script language i fell upon this little joy that enables transparency on an active onenote window. Im now using it for OneNote transparency on my smaller laptop.


#IfWinActive, ahk_class Framework::CFrame
   WinGet, _T, Transparent, A 
   _T := _T = 150 ? 255 : 150
   WinSet, Transparent, %_T%, A

Install autohotkey and after starting it the first time you get a script window that autoruns with autohotkey at startup, just past the above script into this file reload the script and you have transparency on the active OneNote window using left shift and f1.

If you want to try some more transparency you could look into

Autohotkey rocks.

No comments: