Crome_BAD Posted December 29, 2004 Share Posted December 29, 2004 Just a quick question. Is there a way to convert decimal to hex? Does sum1 have a script made for this? Peace, Crome_BAD Link to comment Share on other sites More sharing options...
Helge Posted December 29, 2004 Share Posted December 29, 2004 Hex() Link to comment Share on other sites More sharing options...
Crome_BAD Posted December 30, 2004 Author Share Posted December 30, 2004 Well, i didnt see that, thank you alot. Would that work for... Do Sleep(10) Until PixelGetColor( 15, 15) = Hex(<Sum Number>) Link to comment Share on other sites More sharing options...
Helge Posted December 30, 2004 Share Posted December 30, 2004 yep...looks good Link to comment Share on other sites More sharing options...
Crome_BAD Posted December 30, 2004 Author Share Posted December 30, 2004 Nice, ty alot. Been trying to figure it out for alittle while....lol Link to comment Share on other sites More sharing options...
Helge Posted December 30, 2004 Share Posted December 30, 2004 Still trying to figure it out ? MsgBox(64,"","Dec : 255255255" & @CRLF & "Hex : " & Hex(255255255,6)) Link to comment Share on other sites More sharing options...
Crome_BAD Posted December 30, 2004 Author Share Posted December 30, 2004 Nope i got it now, now im having the trouble of when i click the X ($GUI_EVENT_CLOSE) it doesen't work because of the Do/Until loop, i added in If $msg = $GUI_EVENT_CLOSE Then Exit EndIf Thats added inside the DO loops, but it still wont work.... Any Suggestions? Link to comment Share on other sites More sharing options...
Helge Posted December 30, 2004 Share Posted December 30, 2004 Try this : Do Sleep(10) $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit Until PixelGetColor( 15, 15) = Hex(255255255,6) Good luck ! Link to comment Share on other sites More sharing options...
Crome_BAD Posted December 30, 2004 Author Share Posted December 30, 2004 Yes works wonders now, gotta write all thius stuff down, lol. Crome_BAD Link to comment Share on other sites More sharing options...
ezzetabi Posted December 30, 2004 Share Posted December 30, 2004 What is that Hex(255255255,6) ?It seems you wanted the pure white in a quite original way... LOL.I guess you meantHex(16777215,6)In fact 255255255 is F36E2D7 in hex that have a digit more than 6... This is crazy! Link to comment Share on other sites More sharing options...
Helge Posted December 30, 2004 Share Posted December 30, 2004 Hehe ! Actually I don't know what I wanted, however it seems like it helped Crome_BAD Happy to help 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