; #=win !=alt ^=ctrl +=shift
F10::Volume_Up
F9::Volume_Down
;send space for vlc player. for 5 in numpad wher numpad is off
NumpadClear::
{
If WinActive("ahk_class QWidget")
{
Send {Space}
return
}
}
--this is my HP17 specical key - between alt-and-ctrl keys
--how to find this--
--Open--View->Key history" from the menu bar.
--press the special key, then hit f5 to refresh..you will see 15D in this case.
--help--search for "special keys"
SC15D & RIGHT::Send #{RIGHT}
SC15D & LEFT::Send #{LEFT}
!x::Send {Up 10}
!,::Send {Up 10}
!.::Send {Up 10}
Ctrl & F12::reload ; this will reload the autoHotKeys tool
Shift & F11::edit ; This will load this script in Editor, Notepad
;AAA********************************************************************************
;capture double click and do something
~LButton::
mousegetpos,,, wid, control
wingetclass, wclass, ahk_id %wid%
if (A_PriorHotkey = "~LButton" && A_TimeSincePriorHotkey < 400) ; double click
{
if (wclass = "Button" ) ; start
{
Send {ESC}
run, explorer C:\Users\nrakkati\
return
}
return
}
return
;ZZZ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
WheelRight::
{
WinGetActiveTitle, title
ifInString,title,SSH Secure Shell
{
Send {ctrl down}{alt down}f{alt up}{ctrl up}
return
}
Send !{RIGHT}
}
return
Browser_Search::
{
send !{PrintScreen}
return
}
If WinActive("ahk_class MozillaUIWindowClass") | WinActive("ahk_class IEFrame")
WinMinimize
MButton::Send #a
F1::
if WinActive("ahk_class CabinetWClass")
{
my_time_string = %A_YYYY%_%A_MM%_%A_DD%
IniRead, OutputVar, C:\Users\Public\ahk.ini, seq, todayis
if OutputVar = %my_time_string%
{
IniRead, OutputVar, C:\Users\Public\ahk.ini, seq, counter
OutputVar++
IniWrite, %OutputVar%, C:\Users\Public\ahk.ini, seq, counter
}
else
{
IniWrite, %my_time_string%, C:\Users\Public\ahk.ini, seq, todayis
IniWrite, 1, C:\Users\Public\ahk.ini, seq, counter
}
IniRead, OutputVar, C:\Users\Public\ahk.ini, seq, counter
Send _a%OutputVar%_%my_time_string%
; Send {HOME}
;Send {RETURN}
return
}
Sunday, February 20, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment