d4rk Posted April 2, 2008 Posted April 2, 2008 2 every1, i have this code to capture the whole screen and then save it with the name as the shooting screen time, but i can't see any saved picture, some body can tell me why ? thx for help #include <Misc.au3> #include <ScreenCapture.au3> opt("WinTitleMatchMode",2) if WinWaitActive(" - Instant Message") then $time=@Hour & " [Hrs] " & @MIN & " [Mins] " & @SEC & " [Secs] " & "[" & @MDAY & "/" & @MON & "/" & @YEAR &"]" Local $capture = _ScreenCapture_Capture("") Local $save = _ScreenCapture_SaveImage(@ScriptDir & "\Screenshots\" & $time & ".jpg", $capture) EndIf [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Zedna Posted April 2, 2008 Posted April 2, 2008 #include <Misc.au3> #include <ScreenCapture.au3> opt("WinTitleMatchMode",2) if WinWaitActive(" - Instant Message") then $time=@Hour & " [Hrs] " & @MIN & " [Mins] " & @SEC & " [Secs] " & "[" & @MDAY & "/" & @MON & "/" & @YEAR &"]" _ScreenCapture_Capture(@ScriptDir & "\Screenshots\" & $time & ".jpg") EndIf Resources UDF ResourcesEx UDF AutoIt Forum Search
d4rk Posted April 2, 2008 Author Posted April 2, 2008 thanks for help but it those code still can't make the script works ... [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Zedna Posted April 2, 2008 Posted April 2, 2008 thanks for help but it those code still can't make the script works ...You can't use "/" inside filename. Resources UDF ResourcesEx UDF AutoIt Forum Search
d4rk Posted April 2, 2008 Author Posted April 2, 2008 You can't use "/" inside filename.thanks, got it [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
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