Realm Posted May 12, 2010 Posted May 12, 2010 (edited) What am I doing wrong here? $file = FileOpen(@DesktopDir & "getpix.txt",1) $k=417 While $k<403 $j=12 While $j > 90 $var1 = PixelGetColor($j,$k) FileWriteLine(@DesktopDir & "getpix.txt", "$x=" & $j & " $y=" & $k & " color= " & $var1 ) $j +=1 WEnd $k -=1 WEnd FileClose($file) I am trying to create a map of colors on from a window. Starting with x=12, y=417 and ending with x=89,y=404 Thought this would work, but it leaves my file empty. Thanks for any help! Edited May 12, 2010 by Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.
Realm Posted May 12, 2010 Author Posted May 12, 2010 nvm, figured it out had my >< symbols crossed and forgot the \ file extenstions in my file names. works beautiful now My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.
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