Now This saves in JPG
Easy and any one can understand the code ......
;Gets Screen HackMan
SEND("{PRINTSCREEN}")
Run("mspaint.exe")
WinWaitActive("untitled - Paint")
WinSetState ( "untitled - Paint", "", @SW_MAXIMIZE )
Send("!EP")
Send("P")
WinWaitActive("untitled - Paint")
Send("!FA")
Send("!T")
Send("{DOWN}")
Send("{DOWN}")
Send("{ENTER}")
Send("!N")
$sFileName = @MON & @MDAY & @HOUR & @MIN & @SEC & ".jpg"
Send($sFileName)
Sleep(1000)
Send("{ENTER}")
Sleep(1000)
MsgBox(0,"HackMan","This Program Has been Done by Hackman ")
MsgBox(0,"HackMan","In Case if u wanna use this to some pgm pls give me credits ")
EXIT