*!* Created by Koen Piller *!* 26-8-2016 23:12:30 *!* Purpose : to capture full screen and paste it into mspaint to be saved by user in *!* directory to his choice *!* https://support.microsoft.com/en-us/kb/153003 DECLARE INTEGER keybd_event IN Win32API ; INTEGER, INTEGER, INTEGER, INTEGER VK_SNAPSHOT = 44 && from the winuser.h VK_LMENU = 164 KEYEVENTF_KEYUP = 2 KEYEVENTF_EXTENDEDKEY = 1 DOEVENTS keybd_event( VK_LMENU, 0, KEYEVENTF_EXTENDEDKEY, 0 ) && key down keybd_event( VK_SNAPSHOT, 0, KEYEVENTF_EXTENDEDKEY, 0 ) keybd_event( VK_SNAPSHOT, 0, KEYEVENTF_EXTENDEDKEY + KEYEVENTF_KEYUP, 0 ) keybd_event( VK_LMENU, 0, KEYEVENTF_EXTENDEDKEY + KEYEVENTF_KEYUP, 0 ) DOEVENTS Run/n3 "mspaint" Inkey(2) oShell=Createobject("wscript.shell") oShell.sendkeys("^{v}") oShell=NullRegards,