kcd-clan Posted March 28, 2006 Posted March 28, 2006 Ok how could i take a screen shot of w.e is on screen and save it to file. Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
MHz Posted March 28, 2006 Posted March 28, 2006 With Lazycat's CaptDll here. Also posted in Scripts'n'Scraps somewhere.
kcd-clan Posted March 28, 2006 Author Posted March 28, 2006 (edited) I love this thank you so much . i didnt knwo of plugins il have to checkout some. Edited March 28, 2006 by kcd-clan Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
PartyPooper Posted March 28, 2006 Posted March 28, 2006 Here's something I wrote that uses Lazycats DLL's which you can hack to suit your needs: #region -- OnScreenShot() ;****************************************************************************** Func OnScreenShot() GUISetCursor(15, 1) $StatusBarText1 = " Please wait, grabbing screen shot...." GUICtrlSetData($StatusBarLabel1, $StatusBarText1) $StatusBarText3 = " Please wait, grabbing screen shot...." GUICtrlSetData($StatusBarLabel3, $StatusBarText3) Local $Cwin1 = WinGetHandle(""); gets the handle of the active window Local $Cwin2 = WinGetPos($Cwin1); gets active window dimensions Local $Quality = -1; -1 to save as BMP or use number between 0 - 100 to save as JPG quality If $Quality = -1 Then Local $SaveAs = ".bmp" Else Local $SaveAs = ".jpg" EndIf Local $CaptureDirectory = @ScriptDir & "\Screenshots\"; directory uses to store screen caps Local $CaptureFile = @YEAR & "-" & @MON & "-" & @MDAY & "_" & @HOUR & @MIN & "-" & @SEC & $SaveAs DllCall(@ScriptDir & "\Tools\captdll.dll", "int", "CaptureRegion", "str", $CaptureDirectory & $CaptureFile, "int", $Cwin2[0], "int", $Cwin2[1], "int", $Cwin2[2], "int", $Cwin2[3], "int", $Quality) If @error Then MsgBox(262160, "ERROR", "The screen was not captured", 4) $StatusBarText1 = " Ready" GUICtrlSetData($StatusBarLabel1, $StatusBarText1) $StatusBarText3 = " Ready" GUICtrlSetData($StatusBarLabel3, $StatusBarText3) GUISetCursor(2, 0) EndFunc ;****************************************************************************** #endregion
kcd-clan Posted March 28, 2006 Author Posted March 28, 2006 naw im creating a cool program for gamers il post it when done I dont use other peoples scripts i make my own its not hard Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now