mIRC Home    About    Download    Register    News    Help

Topic Options
#171742 - 28/02/07 12:16 PM $input issue.
b1ink Offline
Vogon poet

Registered: 16/10/06
Posts: 166
Loc: Kuwait
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

Top
#171744 - 28/02/07 01:42 PM Re: $input issue. [Re: b1ink]
Kardafol Offline
Fjord artisan

Registered: 08/01/07
Posts: 259
Happens for me, aswell. It appears the box is centered inside the mIRC window.
_________________________
Those who can, cannot. Those who cannot, can.

Top
#171753 - 28/02/07 02:40 PM Re: $input issue. [Re: Kardafol]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
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

Top
#171762 - 28/02/07 06:11 PM Re: $input issue. [Re: Kardafol]
b1ink Offline
Vogon poet

Registered: 16/10/06
Posts: 166
Loc: Kuwait
it actually would pop on the far left-up of the screen.
_________________________
Kind Regards, blink

Top
#171768 - 28/02/07 10:01 PM Re: $input issue. [Re: b1ink]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
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

Top
#171774 - 28/02/07 10:32 PM Re: $input issue. [Re: Riamus2]
Kardafol Offline
Fjord artisan

Registered: 08/01/07
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.

Top
#174173 - 03/04/07 02:51 PM Re: $input issue. [Re: b1ink]
b1ink Offline
Vogon poet

Registered: 16/10/06
Posts: 166
Loc: Kuwait
would this interest you Khaled?
_________________________
Kind Regards, blink

Top
#174327 - 05/04/07 05:53 PM Re: $input issue. [Re: b1ink]
Khaled Offline


Planetary brain

Registered: 04/12/02
Posts: 4420
Loc: London, UK
Thanks this has been fixed for the next version.

Top
#174370 - 06/04/07 07:59 PM Re: $input issue. [Re: Khaled]
b1ink Offline
Vogon poet

Registered: 16/10/06
Posts: 166
Loc: Kuwait
thanks. really appreciate it Khaled.
_________________________
Kind Regards, blink

Top