This is in reference to the final couple of posts in this thread and particularly to TJ's last post.
TJ and/or WORM
I have been looking at this hex color thing all day. I have used all the dll's I have found on the forum that pulls a color from a popup color board. Getting the proper hex value is eluding me.
Some colors give a four digit hex number that confuses AMS.
For instance, when using WORM's CHCOLOR.DLL in this manner
TJ postsCode:sColor = DLL.CallFunction("AutoPlay\\Docs\\CHCOLOR.DLL", "SelectColor", wnx..",\"FFFFFF\",\"HEX\",\"192;;192;;192\",\"FALSE\"", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL)
then using the string thing you posted above to get rid of all the extra characters the dll returns, a certain color yellow will give this number #FFFF. Copy and paste that into an input box's background color (or any object that uses hex) and it saves out in AMS as #00FFFF (a blue) instead of #FFFF00 which is the correct color.Code:--call dll function to pick color result = DLL.CallFunction("AutoPlay\\Docs\\CHCOLOR.DLL", "SelectColor", wnx..",\"FFFFFF\",\"HEX\",\"192;;192;;192\",\"TRUE\"", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL) --trim all but the hex field result = String.Left(result, String.Find(result, "::", 1, false)-1); --put in sentence Dialog.Message("result", "[color="..result.."]text['/code']"
I have been reading all day and it seems like this has been discussed (in 2004), but no final fix.
Has anyone got a real answer for a popup Color Board that can be configured for HEX, Decimal, and even RGB values that can actually be used in AMS?
What's wierd is that WORM's colorpicker.dll outputs the HEX value correctly (that yellow comes out #FFFF00). However I need a color board

