mIRC Home    About    Download    Register    News    Help

Print Thread
#165667 28/11/06 04:39 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ok, this is probably a really easy question, but I can't figure it out. Heh.

I have a miniature dialog that stays open on the top corner of mIRC with some stats displayed. That's great except that sometimes when I alt-tab into mIRC, that dialog gains focus so that I can't type until I click on mIRC's main window. I know /did has a focus ability, but I want to have an "unfocus" ability on that dialog.

The dialog does update every second, so even if it's a command to change focus to something else, that would be ok. The problem I see with that is that I don't want to lose focus from other dialogs or the script editor (so /editbox doesn't work).

Basically that dialog is just there to look at and you never need to do anything to it. I'd love to have a disable ability for the dialog that would make it never become active.


Invision Support
#Invision on irc.irchighway.net
#165668 28/11/06 05:28 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
if you want to get back into chan you could always join #chan again, it only changes focus to the channel not hop or anyhitng.

or, use /showmirc -r

btk


billythekid
#165669 28/11/06 05:47 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That was the same problem with /editbox, but it got me thinking and I figured it out with that.

I had it check if the dialog was active, then used /showmirc -s.

Thanks. laugh


Invision Support
#Invision on irc.irchighway.net
#165670 29/11/06 09:26 AM
Joined: Jan 2006
Posts: 34
N
Ameglian cow
Offline
Ameglian cow
N
Joined: Jan 2006
Posts: 34
open your editer and select remotes tab
click on find and search for the heading in the blue band at the top of the dialog
once found, at the beginning of that section you will find the name of the dialog. (usually 1 line before) example :-
dialog Name-of-dialog {
title "This is what you searched for"
size blah blah
once you have the Name-of-dialog you can now search for, and comment out or delete the parts of the script that control the said dialog. then look in the aliases tab and search for the said Name-of-dialog... it's a good learning curve for learning scripting.

#165671 29/11/06 02:40 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Uh... lol! To learn scripting.... you might want to do a search through the forum for posts by me. smile

It just happened that I didn't think of the solution to this one right away.

And... commenting things out isn't going to do anything except make it not work. Besides, it's one of the many scripts I've written and the only issue that it did have was the focus one, which is solved.

One last note... I would really not suggest looking in the "blue band" for 2 reasons. First, people don't all use the default XP theme (I have silver). Second, it's called a title bar. No need to confuse people. smile


Invision Support
#Invision on irc.irchighway.net
#165672 29/11/06 07:27 PM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
Blue Riband, now there's a biscuit(cookie-US) mmmmmm


btk


billythekid
#165673 29/11/06 07:36 PM
Joined: Apr 2004
Posts: 759
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
On that note: another totally useless fact about blue band is that it's the most expensive brand of butter you can buy in the Netherlands.


$maybe
#165674 29/11/06 11:54 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
amazing!


Link Copied to Clipboard