--- In [email protected], Cüneyt <[EMAIL PROTECTED]> wrote: > > swzoh wrote (on 19.08.2006 03:09): > > Click "Left" mouse button to pick the color. > > Hi Sean, > > Thanks for your beautiful script, and from what I read, it's getting > even better. I've tested the original version, which worked for me but > I'm getting errors with the current version in the files section. > > > For @Picker: > ---------------------------- > ERROR: dll.call: Type count, arg count don't match > > Error occurred near line 81 of script colorZoomer: > dll.call("ReleaseDC|ui ui",hWnd,hDC_TT) > > Press Cancel to end all running scripts. > ---------------------------- > > > BTW, this is not the first time I get such messages. Most of your > scripts in the dll-plugin archive show similar argument errors for me. > Actually it surprised me quite that your original script worked for me > :? I have not tested the versions in between.
Sorry for the inconvenience. The only thing I don't follow the documentation is that I don't specify the return type wherever I think safe to omit. I used to added it back when I posted, however, from sometime I stopped doing it. Mostly they are (u)i type, so you can safely add i at the end. However, I'm doubtful that is the cause here. > For @Zoomer: > > ---------------------------- > 2: Bad expression: expecting operator at > [EMAIL PROTECTED],?6881442,?1392577884,?2097219840))) > win.move(6881442,xmouse-50,ymouse-50)++dll.call(?StretchBlt|ui i i i i ui i i i i ui,1392577884,0,0,100,100,2097219840,xmouse-10,ymouse-10,21,21,13369376)++do(if(mouseleft,?event.destroythis()++call(?C:[EMAIL PROTECTED],?6881442,?1392577884,?2097219840))) > ---------------------------- > > I get the flying rectangle with the cross-hair and the errors popup, and > if I click cancel, another one pops up and I have to kill PowerPro. I > would have sworn it was the 531-chars problem I've recently posted about > but the number at which the line is cropped is 211, maybe the rest 420 > comes from the event creation process. > > I'm using the latest dll and binary plugins, without the manifest file. > > Any idea? If there is no typo in the above, single quote is missing in: dll.call(?StretchBlt|ui i i i i ui i i i i ui, & do(if(mouseleft,?event.destroythis()++ ... )) which should be dll.call(?'StretchBlt|ui i i i i ui i i i i ui', & do(if(mouseleft,?'event.destroythis()++ ... ')) (:I added ... )) part myself by guess) Hmm... Why single quotes are all removed in your system? Anyway you can replace them with others as you may know, e.g., as dll.call(?#StretchBlt|ui i i i i ui i i i i ui#, etc And from my own experience with the latest build, don't add space at the end of the type specs, I mean like: dll.call(?'StretchBlt|ui i i i i ui i i i i ui ', I hope it fix the problem. Sean 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/
