d4rk 0 Report post 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 Share this post Link to post Share on other sites
Zedna 167 Report post 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 Share this post Link to post Share on other sites
d4rk 0 Report post 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 Share this post Link to post Share on other sites
Zedna 167 Report post 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 Share this post Link to post Share on other sites
d4rk 0 Report post 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 Share this post Link to post Share on other sites