Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Include Screen_brightness.ahk
- BS := new BrightnessSetter()
- #F5::BS.SetBrightness(3)
- #F4::BS.SetBrightness(-3)
- return
- SetTitleMatchMode, Regex
- #If WinActive("Google Docs ahk_class Chrome_WidgetWin_1")
- ; #If WinActive("Log ahk_class Chrome_WidgetWin_1")|| WinActive("Jan ahk_class Chrome_WidgetWin_1")|| WinActive("Feb ahk_class Chrome_WidgetWin_1")|| WinActive("Mar ahk_class Chrome_WidgetWin_1")
- ; prevent page from reloading
- F5::
- return
- ; create a comment
- !c::
- send ^!m
- sleep, 100
- return
- SetTitleMatchMode, RegEx
- #If WinActive("Google Sheets ahk_class Chrome_WidgetWin_1")
- ; create a new line in google sheets
- !r::
- send +!i
- sleep 100
- send r
- return
- #IfWinActive ; reset winactive"
- #n::
- run Notepad++
- return
- #w::
- run winword
- sleep, 6000
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement