Hello, when i press the windows key + PrtSc key, the screenshot falls into the screenshot folder. Does anyone know a code so I can do this by just pressing PrtSc? I would appreciate it if anyone could help.
Note: My computer is laptop, there is only one windows key at the bottom left.
Win+PrtSc to PrtSc
-
- Posts: 26
- Joined: 16 Nov 2020, 14:47
- Contact:
Re: Win+PrtSc to PrtSc
Hey @manwhodontknowcode, try this:
The main catch in this situation is using the keyboard hook to avoid retriggering the hotkey every time we send it.
Code: Select all
;;We need to use a keyboard hook ($) with the hotkey so it doesn't retrigger itself.
$PrintScreen::
{
;;Run a send command to send the windows key + printscreen combo
Send("#{PrintScreen}")
}