mIRC Home    About    Download    Register    News    Help

Print Thread
#146325 03/04/06 06:34 AM
Joined: Mar 2006
Posts: 22
R
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Mar 2006
Posts: 22
/drawcopy @window

returns * /drawcopy: insufficient parameters

Instead of updating the window, as intended.

mIRC 6.17, win2k

#146326 03/04/06 07:48 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
You need to specify the location and size as well as the window name. From the help file /help /drawcopy
Quote:
/drawcopy -ihmnt @ [color] <x y w h> @ <x y [w h]>
Copies part of a picture to a different position in the same window or to another window. If the second [w h] parameters are specified, the picture is stretched/squeezed to fit.


#146327 03/04/06 11:25 AM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
rehinged is right. From the help file:
Quote:
The -n switch prevents the display from being updated immediately. This allows you to make changes to the window in the background and then display the results only when you've finished. You can update the display by using any of the /draw commands with only the window name specified.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#146328 03/04/06 11:50 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Hmm..looks like I have a damaged help file, as that section that you quoted isn't in the help file that I have.

#146329 04/04/06 02:59 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
It is mentioned in the documentation for /drawdot.


Gone.
#146330 04/04/06 06:33 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
OK..guess my copy isn't broken then, I just didn't look in the right area, which is understandable considering the original question was in regards to /drawcopy not /drawdot

#146331 04/04/06 06:38 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
The -n switch is a switch that goes for all /draw* commands that do actual drawing, it is not strictly related to /drawcopy, and thus natural to be mentioned in the first /draw* command explained in the help file. Anyway, it's not important.


Gone.

Link Copied to Clipboard