Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
$dialog
Forums
Active Threads
Search
Who's Online
Help
Print Thread
$dialog
#
40940
10/08/03
03:44 PM
Joined:
Mar 2003
Posts: 437
M
MTech
OP
Fjord artisan
OP
MTech
Fjord artisan
M
Joined:
Mar 2003
Posts: 437
Code:
$dialog() also supports these properties: x,y,w,h returns the size and position of the dialog
how do i get the dialog size? im not sure how i put the two together
Copy Link to Clipboard
Re: $dialog
#
40941
10/08/03
03:57 PM
Joined:
May 2003
Posts: 2,265
P
pheonix
Hoopy frood
pheonix
Hoopy frood
P
Joined:
May 2003
Posts: 2,265
the position of the dialog is x,y the size is w,h
use:
alias dsize {
$1 $+ 's size is: $dialog($1).w $dialog($1).h
}
//echo -a $dsize(dialog)
new username: tidy_trax
Copy Link to Clipboard
Re: $dialog
#
40942
10/08/03
04:01 PM
Joined:
Dec 2002
Posts: 3,138
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,138
London, UK
You missed the return command.
Copy Link to Clipboard
Re: $dialog
#
40943
10/08/03
04:55 PM
Joined:
Mar 2003
Posts: 437
M
MTech
OP
Fjord artisan
OP
MTech
Fjord artisan
M
Joined:
Mar 2003
Posts: 437
this is the real size (pixels)
size %si.hor %si.vert 475 84
but that returns 481 anyone know why?
Copy Link to Clipboard
Re: $dialog
#
40944
10/08/03
05:01 PM
Joined:
Dec 2002
Posts: 3,138
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,138
London, UK
The border and titlebar make a difference, you can use $dialog($1).cw and $dialog($1).ch to return the size without them.
Copy Link to Clipboard
Re: $dialog
#
40945
10/08/03
05:34 PM
Joined:
Mar 2003
Posts: 437
M
MTech
OP
Fjord artisan
OP
MTech
Fjord artisan
M
Joined:
Mar 2003
Posts: 437
i got it working, ty
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage