mIRC Home    About    Download    Register    News    Help

Print Thread
#24186 14/05/03 12:12 PM
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
Sorry this may be a newbie question....but I haven't been able to figure out how to size @windows....is it even possible? Looks like it is by reading the mirc help file...but I can't get it to work...

a snippet of my code:

;create the window and activate it
window -da @windowname
;write to the window
echo -a $htmlfree(%temptext)

What the echo statement is writing to is only 4-5 lines, but the default window size is like 3/4 of my screen...how do I change that?

#24187 14/05/03 12:36 PM
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help /window


Code:
//if ( khaled isgod ) echo yes | else echo no
#24188 14/05/03 12:42 PM
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
Duh...I've read the /help file already...but don't understand the syntax wink

PaRaD0x

#24189 14/05/03 12:50 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
/window -a @window X Y W H
x and y is the position on the script
w and h is the size
u can do
/window -a @window 1 1 200 200
for example

#24190 14/05/03 12:54 PM
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
thanks Scatman!

PaRaD0x

#24191 14/05/03 06:03 PM
Joined: May 2003
Posts: 16
P
parad0x Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2003
Posts: 16
Is there a way to dynamically create the @windows size? the text I am inputting into said window will vary, so sometimes the window will be too big...sometimes just right...sometimes too small...is this possible?

Thanks in advance...
PaRaD0x


Link Copied to Clipboard