I apologize if this is a silly question, but I'm completely lost. I want to assign the following combinations to Page Up and Page Down keys:
- Page Up: space bar + backspace + control + down arrow
- Page Down: control + shift + P
How can I do this? Thank you.
Assign key combination to Page Up and Page Down keys? Topic is solved
Re: Assign key combination to Page Up and Page Down keys?
to learn how to create hotkeys: https://autohotkey.com/docs/Hotkeys.htm#Intro
to learn what special hotkeys are available: https://autohotkey.com/docs/KeyList.htm ... ntrol_keys
and youre also gonna need this: https://autohotkey.com/docs/commands/Send.htm
to learn what special hotkeys are available: https://autohotkey.com/docs/KeyList.htm ... ntrol_keys
and youre also gonna need this: https://autohotkey.com/docs/commands/Send.htm
Re: Assign key combination to Page Up and Page Down keys? Topic is solved
Thank you for your reply. I've already checked out those resources, but I'm still confused. I've tried the following:
But it tells me that it is an invalid hotkey and I don't know what I'm doing wrong.
Code: Select all
{PgUp}::
Send, {Space}{Backspace}{Control}{Down}
Return
Code: Select all
{PgDn}::
Send, {Control}{Shift}{P}
Return
Re: Assign key combination to Page Up and Page Down keys?
youre almost there
Code: Select all
PgUp::
Send, {Space}{Backspace}{Control}{Down}
; remarks: they way control/shift and other modifiers are written here will press and release them.
; if you instead want to achieve ctrl+Down arrow, do this: {Control Down}{Down}{Control Up}
Return
PgDn::
Send, {Control}{Shift}{p}
; remarks: uppercase P actually presses Shift, sends lowercase p, then releases Shift
Return
Who is online
Users browsing this forum: No registered users and 338 guests