Dec. 15, 2008, 03:14 AM
It's basically a program where you can create new hotkey combinations!
I guess we can share our configs here
I guess we can share our configs here
Code:
; # = windows
; + = shift
; ! = alt
; ^ = control
#Include COM.ahk
#Include ws4ahk.ahk
#Include VA.ahk
#t::Run Thunderbird
#z::Run C:\Program Files\RocketDock\Rocketdock.exe
#n::Run Notepad++
#f::Run Firefox
#o::Run Opera
#g::Run C:\Users\Andrew\AppData\Local\Chromium\Application\Chrome.exe
#r::Run cmd
^!Tab::Run, taskmgr
#i::Run itunes
#d::WinMinimizeAll
;#d::Run c:\Program Files\Emerge Desktop\emerge.exe showdesktop
;^+d::Run C:\Users\Andrew\Desktop\
#e::Run C:\Program Files\zabkat\xplorer2\xplorer2_UC.exe
#c::Run C:\Program Files\CCleaner\ccleaner.exe /auto
; minimize all windows, pause iTunes, mute volume when locking computer
#l::
WinMinimizeAll
COM_Init()
VA_SetMasterMute(true)
;Run c:\Program Files\Emerge Desktop\emerge.exe showdesktop
Run,%A_WinDir%\System32\Rundll32.exe User32.dll,LockWorkStation
WS_Initialize("JScript")
Pause =
(
iTunesApp = new ActiveXObject("iTunes.Application");
iTunesApp.Pause();
)
WS_Exec(Pause)
WS_Uninitialize()
; WinWait, A
;
; VA_SetMasterMute(false)
; resume iTunes, unmute when locking computer
; WS_Initialize("JScript")
; Resume =
; (
; iTunesApp = new ActiveXObject("iTunes.Application");
; iTunesApp.Play();
; )
; WS_Exec(Resume)
; WS_Uninitialize()
return
; Win + 1 and 3 removes transparency of active window/taskbar
; Win + 2 and 4 sets transparency of active window/taskbar to 15%
#1:: WinSet, Transparent, 255, A
#2:: WinSet, Transparent, 217, A
#3:: WinSet, Transparent, 255, ahk_class Shell_TrayWnd
#4:: WinSet, Transparent, 217, ahk_class Shell_TrayWnd
;####### iTunes #######
; ALT + / to go play/pause
!/::
DetectHiddenWindows,On
ControlSend, ahk_parent, {space}, iTunes ahk_class iTunes
return
; ALT + < to go to previous song
!,::
DetectHiddenWindows,On
ControlSend, ahk_parent, ^{left}, iTunes ahk_class iTunes
return
; ALT + > to go to next song
!.::
DetectHiddenWindows,On
ControlSend, ahk_parent, ^{right}, iTunes ahk_class iTunes
return
;####### Other #######
; Auto-Reload AutoHotKey when this file is saved
~^s::
IfWinActive, %A_ScriptName%
{
Send, ^s
SplashTextOn,,,Updated script,
Sleep,200
SplashTextOff
Reload
}
else
Send, ^s
return