Sign in to follow this  
Followers 0
Crome_BAD

Decimal To Hex

11 posts in this topic

Just a quick question. Is there a way to convert decimal to hex? Does sum1 have a script made for this?

Peace,

Crome_BAD

Share this post


Link to post
Share on other sites

Well, i didnt see that, thank you alot. Would that work for...

Do

Sleep(10)

Until PixelGetColor( 15, 15) = Hex(<Sum Number>)

Share this post


Link to post
Share on other sites

yep...looks good

Share this post


Link to post
Share on other sites

Nice, ty alot. Been trying to figure it out for alittle while....lol

Share this post


Link to post
Share on other sites

Still trying to figure it out ?

MsgBox(64,"","Dec : 255255255" & @CRLF & "Hex : " & Hex(255255255,6))

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Try this :

Do
Sleep(10)

$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then Exit

Until PixelGetColor( 15, 15) = Hex(255255255,6)

Good luck !

Share this post


Link to post
Share on other sites

Yes works wonders now, gotta write all thius stuff down, lol.

Crome_BAD

Share this post


Link to post
Share on other sites

What is that Hex(255255255,6) ?

It seems you wanted the pure white in a quite original way... LOL.

I guess you meant

Hex(16777215,6)

In fact 255255255 is F36E2D7 in hex that have a digit more than 6... This is crazy!

Share this post


Link to post
Share on other sites

Hehe !

Actually I don't know what I wanted, however it seems like it helped Crome_BAD :D

Happy to help :idiot:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0