swzoh wrote:
> Yes, this line:
> event.create(1, -> event.createms(250,
>
Yep, that makes a difference, thanks Sean!
>> Also Sean, there's a bug whereby if you open a 2nd (or more)
>> ColorZoomer window without selecting anything with the 1st already
>> open ColorZoomer window, you get an error:
>>
>
> It's not a bug, rather a consequence of declaring ti as a static (:so
> have to release it manually before exit). I didn't expect a user to
> start a new one while another one is running.
Yeah, normally I wouldn't either, I actually did it by accident. It's
really not important, sorry. (but thx for fix)
>> One other thing -- may I request a Feature? :) It would be
>> excellent to be able to cancel a Zoomer window with Esc key..?
>>
> Unfortunately, no. I'm already on the verge of 530 character limit.
> scriptfolder++?"\"++scriptname++ took already precious 32 more :)
>
Sorry with lots of requests (and I have another, see below!) This is a
great script tho & will be/is something I use daily. I really
appreciate you doing this, it's fantastic.
Incidentally, I may have missed this, but what's the commented-out
section for? That's the bit:
/* Loop
dll.call("SetCursor|ui",;;+
dll.call("LoadCursor|ui ui",0,32515))
for(!mouseleft)
dll.call("MoveWindow|ui i i i i i",;;+
hWnd,xmouse-nRect,ymouse-nRect,2*nRect,2*nRect,1)
dll.call("StretchBlt|ui i i i i ui i i i i ui",;;+
hDC_TT,0,0,2*nRect,2*nRect,;;+
hDC_SC,xmouse-nRect/nZoom,ymouse-nRect/nZoom,;;+
2*nRect/nZoom,2*nRect/nZoom,0xCC0020)
endfor
wait.for(!mouseleft)
jump _pick_
*/
Also, this doesn't do anything for me? :
Here is an example:
@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
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)
And also is there any way you can incorporate a toggle of returning one
or other value? I'm guessing not, due to size limitations you mentioned
(and, just on that, where is the limitation coming from? Is that number
of chars in script? Just curious!) so no biggie, I can set up a script
to change the value separately if not.
Thanks again, Sean!
Karen
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/