mIRC Home    About    Download    Register    News    Help

Print Thread
$input issue. #171742 28/02/07 12:16 PM
Joined: Oct 2006
Posts: 166
B
b1ink Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
I'm working on a script that would pop an $input request when mirc is minimized. but the input request is not centered when minimized. try below example.
Code:
//.timer 1 1 noop $!input(test,oh) | showmirc -n


Kind Regards, blink
Re: $input issue. [Re: b1ink] #171744 28/02/07 01:42 PM
Joined: Jan 2007
Posts: 259
K
Kardafol Offline
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
Happens for me, aswell. It appears the box is centered inside the mIRC window.


Those who can, cannot. Those who cannot, can.
Re: $input issue. [Re: Kardafol] #171753 28/02/07 02:40 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
Yeah. I'm thinking that it centers based on the $window location of mIRC instead of the actual center of the screen. It should probably be changed to work like dialogs using the -1 -1 X/Y params.


Invision Support
#Invision on irc.irchighway.net
Re: $input issue. [Re: Kardafol] #171762 28/02/07 06:11 PM
Joined: Oct 2006
Posts: 166
B
b1ink Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
it actually would pop on the far left-up of the screen.


Kind Regards, blink
Re: $input issue. [Re: b1ink] #171768 28/02/07 10:01 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
He was saying that when mIRC's maximized, it's centered, but when it's minimized, it's not.


Invision Support
#Invision on irc.irchighway.net
Re: $input issue. [Re: Riamus2] #171774 28/02/07 10:32 PM
Joined: Jan 2007
Posts: 259
K
Kardafol Offline
Fjord artisan
Offline
Fjord artisan
K
Joined: Jan 2007
Posts: 259
When I have mIRC minimized, it appears on the upper left corner.
When I maximize mIRC, it appears near the center of the screen, at the center of mIRC.
When I have mIRC open, and have it as a 600x800 square at the bottom left corner, it appears in the center of the 600x800 mIRC box at the bottom left corner.

It appears at the center of the main mIRC window, however if the main mIRC window is minimized, it calculates the mIRC window as being 1,1 on the screen, and fits the dialog box in.


Those who can, cannot. Those who cannot, can.
Re: $input issue. [Re: b1ink] #174173 03/04/07 01:51 PM
Joined: Oct 2006
Posts: 166
B
b1ink Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
would this interest you Khaled?


Kind Regards, blink
Re: $input issue. [Re: b1ink] #174327 05/04/07 04:53 PM
Joined: Dec 2002
Posts: 4,521
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,521
Thanks this has been fixed for the next version.

Re: $input issue. [Re: Khaled] #174370 06/04/07 06:59 PM
Joined: Oct 2006
Posts: 166
B
b1ink Offline OP
Vogon poet
OP Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
thanks. really appreciate it Khaled.


Kind Regards, blink