Michel Claveau 1 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... Share this post Link to post Share on other sites
GEOSoft 68 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 GeorgeQuestion 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!" Share this post Link to post Share on other sites
Michel Claveau 1 Posted October 3, 2007 Hi! Thanks for info. I will try on XP soon. Share this post Link to post Share on other sites
Draygoes 431 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. Share this post Link to post Share on other sites
jvanegmond 307 Posted October 3, 2007 draygoes, this will prevent it from crashing: Opt("RunErrorsFatal" ,0) Run(@WindowsDir & "\system32\SnippingTool.exe") github.com/jvanegmond Share this post Link to post Share on other sites
GEOSoft 68 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. GeorgeQuestion 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!" Share this post Link to post Share on other sites