hi , how can i program page up and page down button only for excel .
Make page down such that it presses control + page down
program page up and page down only for excel
-
- Posts: 115
- Joined: 06 Dec 2022, 02:35
Re: program page up and page down only for excel
Code: Select all
#Requires AutoHotkey v1.1.33
excel := "ahk_exe EXCEL.exe"
#If WinActive(excel)
PgUp::Send ^{PgUp}
PgDn::Send ^{PgDn}
#If
Code: Select all
#Requires AutoHotkey v2.0
excel := "ahk_exe EXCEL.exe"
#HotIf WinActive(excel)
PgUp::Send '^{PgUp}'
PgDn::Send '^{PgDn}'
#HotIf