1 Sep 2006 01:47
Re: ColorPicker
--- In power-pro@..., miinx <miinxfree <at> ...> wrote: > Incidentally, I may have missed this, but what's the commented-out > section for? That's the bit: That's a remnant. As the event version seems to work well, I'll remove it. > Also, this doesn't do anything for me? : > > Here is an example: > > <at> Picker > args hWnd,hDC_TT,hDC_SC,ti,nColor > > if(KeyTrap.GetKeyState(0,27)) > quit(dll.call("ReleaseDC|ui ui",0,hDC_SC)++dll.call("ReleaseDC|ui > ui",hWnd,hDC_TT)++win.close(hWnd)) > ; the above in 1 line OK, if it's enough with Esc+MouseLeft as the cancel combo, I think I could add it. > And finally, another request of sorts... I mostly need #RRGGBB values, > but sometimes need the (RRR GGG BBB) value. So, firstly, what's the n > value needed for the script to get that? (like #RGB is -2) Use regular expression: nColor["(?#1)[^(]"] for " RRR GGG BBB " nColor["(?#1)#.{6}"] for "#RRGGBB"(Continue reading)
RSS Feed