Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the copy-the-code domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
Windows – How to paste Print Screen on MS Paint automatically when press “PrtSc” button - PC✗3
Windows – How to paste Print Screen on MS Paint automatically when press “PrtSc” button

Windows – How to paste Print Screen on MS Paint automatically when press “PrtSc” button

How to paste Print Screen on MS Paint automatically when press “PrtSc” button?

If you use Windows you are used to pressing the PrtSc button and then opening the MS Paint and then paste (Ctrl + V) the screenshot. But what if there was a better way to create screenshots?

Here is a nice little AutoHotkey script that I’ve used for years now, which automatically opens up MS Paint and paste the screenshot every time I press the “PrtSc” button.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
~Printscreen::
!~Printscreen::
IfWinExist Untitled - Paint
{
    WinActivate, Untitled - Paint
    WinWaitActive, Untitled - Paint
}
else
{
    Run Mspaint
    Sleep 10
    WinActivate, Untitled - Paint
    WinWaitActive, Untitled - Paint
}

{
   Send ^v
   Send ^+x
   return
}

save it as something.ahk and add it to your user’ StartUp folder to run on every power on.

To do this, press the Windows  logo key  + R, type shell:startup, then select OK. This opens the Startup folder.

Windows Startup folder
Windows Startup folder

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.