erifash Posted March 27, 2005 Posted March 27, 2005 This is two scripts that should be kept in the SAME directory. Script #1 (img.au3) Uses a complicatedpixel algorithm to copy all the pixel colors of a certain area into a TEXT file. Best used for a small area. To use: Press 1 to initialize, move your mouse to the UPPER-LEFT hand corner of the rectangle you want to copy and press ESCAPE, move your mouse to the LOWER-RIGHT hand corner of the rectangle you want to copy and press ESCAPE. It will copy the pixels in the rectangle to a text file. Script #2 (reconstruct.au3) Uses the hex.txt file exported by the first script and reconstructs the image onto the screen To use: Run it in the same directory as hex.txt. The files (hex.txt is the demo image): My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
Insolence Posted March 28, 2005 Posted March 28, 2005 You should make it one script, and also use DLLOpen and DLLClose. "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.
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