Michel Claveau Posted October 3, 2007 Share Posted October 3, 2007 Hi! *** This script is humorous (but it functions) *** This tool can : - capture region or windows - save in differents formats - to modify the capture image - etc. it's only for Vista. Here, the source-code: Run(@WindowsDir & "\system32\SnippingTool.exe") Afflicted, I did not optimize the length of script... Link to comment Share on other sites More sharing options...
GEOSoft Posted October 3, 2007 Share Posted October 3, 2007 (edited) It will also work om XP Tablet edition if you have the Experience pack. Everybody needs a Microsoft experience. Edit If you can find the file Snippingtool .exe and place it in the @SystemDir then it will work on XP sp2 but you may have to run it as a service. Edited October 3, 2007 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
Michel Claveau Posted October 3, 2007 Author Share Posted October 3, 2007 Hi! Thanks for info. I will try on XP soon. Link to comment Share on other sites More sharing options...
Draygoes Posted October 3, 2007 Share Posted October 3, 2007 Slight problem... --------------------------- AutoIt Error --------------------------- Line 1 (File "C:\Users\Draygoes\Desktop\New AutoIt v3 Script (3).au3"): Run(@WindowsDir & "\system32\SnippingTool.exe") Error: Unable to execute the external program. The system cannot find the file specified. --------------------------- OK --------------------------- I am using vista. I guess it isnt for vista homebasic. Spoiler "If a vegetarian eats vegetables,What the heck does a humanitarian eat?" "I hear voices in my head, but I ignore them and continue on killing." "You have forced me to raise the indifference warning to beige, it's a beige alert people. As with all beige alerts please prepare to think about the possibility of caring." An optimist says that giving someone power DOESN'T immediately turn them into a sadist. A pessimist says that giving someone power doesn't IMMEDIATELY turn them into a sadist. Link to comment Share on other sites More sharing options...
jvanegmond Posted October 3, 2007 Share Posted October 3, 2007 draygoes, this will prevent it from crashing: Opt("RunErrorsFatal" ,0) Run(@WindowsDir & "\system32\SnippingTool.exe") github.com/jvanegmond Link to comment Share on other sites More sharing options...
GEOSoft Posted October 3, 2007 Share Posted October 3, 2007 $sFile = @WindowsDir & "\System32\SnippingTool.exe") If FileExists($sFile)Then Run($sFile) Else MsgBox(0,'File Error', "The Windows snipping tool was not found") EndIf The snipping tool may not be installed. Google "SnippingTool.exe" and you will similar problems and the instructions to install and enable it. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
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