press ; and activate the pause key

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Foxy
Posts: 1
Joined: 20 Jan 2023, 18:43

press ; and activate the pause key

Post by Foxy » 20 Jan 2023, 18:53

hi i'm new here and i don't know how to do script that i press ; and when i press it activate the key pause
Last edited by gregster on 20 Jan 2023, 18:59, edited 2 times in total.
Reason: Post was split from completely unrelated topic, in "About this Community".

User avatar
mikeyww
Posts: 26592
Joined: 09 Sep 2014, 18:38

Re: press ; and activate the pause key

Post by mikeyww » 20 Jan 2023, 19:18

Welcome to this AutoHotkey forum!

You may wish to try AHK v2.

Code: Select all

#Requires AutoHotkey v2.0
`;::Send '{Pause}'
pause.png
Key history
pause.png (8.29 KiB) Viewed 272 times

watagar
Posts: 1
Joined: 28 Jan 2023, 13:17

Re: press ; and activate the pause key

Post by watagar » 28 Jan 2023, 13:24

Why is it '{Pause}' and not just {Pause}.

Neither work for me.

PageUp::Send, {Pause} - this does nothing

User avatar
mikeyww
Posts: 26592
Joined: 09 Sep 2014, 18:38

Re: press ; and activate the pause key

Post by mikeyww » 28 Jan 2023, 15:54

AHK v2 uses expressions, explained in the documentation.

The Pause key is uncommonly used; I'm not sure of your intent with it.

You can test your hotkey itself by sending something different.

Post Reply

Return to “Ask for Help (v1)”