Josh` Posted September 15, 2008 Report Share Posted September 15, 2008 Hey, Is there any way I can open a dialog and keep my cursors focus on mIRC's channel window? Every time a dialog opens up while I'm typing in the channel, the editbox focus moves to that newly opened dialog instead of the mIRC channel. Is there any way I can keep my focus on the channel? Thanks, Josh Link to comment Share on other sites More sharing options...
Warrior124 Posted September 15, 2008 Report Share Posted September 15, 2008 It might work if you minimize the dialog on init. on *:dialog:dname:init:*: dialog -i $dname $dname Link to comment Share on other sites More sharing options...
The Gate Keeper Posted September 15, 2008 Report Share Posted September 15, 2008 that wont solve the issue as far as i'm aware, because the focus will still be attracted to it as far as i'm aware. as for solving it... i'm not too sure. check the focus options in /dialog. Link to comment Share on other sites More sharing options...
Silo Posted September 15, 2008 Report Share Posted September 15, 2008 I'm not sure, but, maybe n i or e, perhaps? Link to comment Share on other sites More sharing options...
Warrior124 Posted September 15, 2008 Report Share Posted September 15, 2008 Yes, I just now tried it out. Minimizing the dialog on init will set focus back to the previous active window. So use the dialog -i $dname $dname on init, and it will work. Link to comment Share on other sites More sharing options...
Josh` Posted September 15, 2008 Author Report Share Posted September 15, 2008 So what if I said that isn't working for me? On init for the certain dialog that is opening, it is also being docked in mIRC. Anyone have any solutions for that one? lol Link to comment Share on other sites More sharing options...
Ozzy10 Posted September 15, 2008 Report Share Posted September 15, 2008 josh what exactly you trying to do cause i think your explinations a bit confusing you want to open a dialog but keep focus set on the chan window? if so you may want to look at $window in the help file if however you want to set focus on the dialog then look for /dialog in the help file Link to comment Share on other sites More sharing options...
Warrior124 Posted September 15, 2008 Report Share Posted September 15, 2008 The only solution that I know of for that is to just click back in your windows editbox if your dialog initializes. Link to comment Share on other sites More sharing options...
Lindrian Posted September 15, 2008 Report Share Posted September 15, 2008 you can use /window -a in the end of your init event, it will "flicker" a bit, but thats somthing you'd have to live with. ie: /open_dialog on *:diaog:something:init:0: { do_this then_this and_finally_this window -a <channel window> } Link to comment Share on other sites More sharing options...
Josh` Posted September 15, 2008 Author Report Share Posted September 15, 2008 (edited) That doesn't seem to work, either Lindrian. What I have is a dialog that opens up and then docks to the top of my mIRC window. When this happens, if I'm typing a message in a channel, my cursor focus goes to that dialog and I can't finish my message that I was typing. I just tried adding window -a #TG007 to the dialog init, but that didn't work... I also tried minimizing the dialog once it opened and after it docked, that didn't work either. Edited September 15, 2008 by Josh` Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now