mIRC Home    About    Download    Register    News    Help

Print Thread
#165158 22/11/06 08:51 PM
Joined: Feb 2005
Posts: 344
B
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Feb 2005
Posts: 344
Simple question i think.

Is there a way to open a dialog by right clicking in a channel and not showing the normal channel menu.

#165159 22/11/06 11:31 PM
Joined: Dec 2004
Posts: 66
B
Babel fish
Offline
Babel fish
B
Joined: Dec 2004
Posts: 66
Code:
menu channel {
  $iif($Log.Caller, DiaCaller) : { }
}  

Log.Caller is an alias of mine that starts a dialog, it does not return anything, which defaults to false, so the menu item isn’t displayed in the menu, but the dialog is opened as soon as the channel menu popsup. If there is nothing else in your channel menu mirc popsup the status window menu, the menu will be on top of your dialog. I don’t know how to stop that, but if you should be able to have your dialog caller use the sendkeys script to send one escape key to mirc, that will close the menu, leaving the dialog. Not very clean but I think it’ll work.


Link Copied to Clipboard