mIRC Home    About    Download    Register    News    Help

Print Thread
#159970 22/09/06 12:38 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Is it possible at all to hide the entire menu for a @window using mirc script? I keep thinking the answer is no because one might have menu @ {'s around. I've been reading the helpfile coming up with no solutions. Thanks in advance.

#159971 22/09/06 01:35 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
if you mean @custom windows? you can do a +d
or
/window -w0 +d @yes 200 100 200 100

#159972 22/09/06 03:44 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Hrm, "@window". Yeah i guess custom window.

+d will disable/hide the menu in a custom window?
But +d = no border frown

w[N] = where 0 = hide from switchbar/treebar, 1 = show in switchbar, 2 = show in treebar, 3 = show in both

Neither hides the menu when i right click on the custom picture window. frown any menu associated with custom windows still show up.

menu {

}

Thanks anyways.

#159973 22/09/06 04:33 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
/window -pw0 +d @menu 100 200 200 100

no frame, no boarder no menu
if you use other swtiches like -do and im sure some others it will defeat some other switches such as the -w0

#159974 22/09/06 05:47 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Quote:

/window -pw0 +d @menu 100 200 200 100

no frame, no boarder no menu


Hrm, I still get a menu when I right click. Even on your example. What does creating a picture window have to do with hiding a menu though? A menu =

menu nicklist,channel,* {
.Somestuff
..Somestuff:etc
}

You right click on a window, you get a menu. Want to hide that kind of menu. A menu. frown

Hrm, maybe you think i'm talking about the titlebar.

Quote:
if you use other swtiches like -do and im sure some others it will defeat some other switches such as the -w0

If you say so. smirk


We don't just write the scripts, we put them to the test! (ScriptBusters)
#159975 22/09/06 05:53 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
I have an idea. You create one of these.
Code:
menu * {
  .This is:a test
}


Then create your window like your telling me to do. Right click, and see what happens frown.


We don't just write the scripts, we put them to the test! (ScriptBusters)
#159976 22/09/06 07:06 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
if you dont want the menu to show up Everywhere then why are you using that wildcard method?

Frankly the menu * { } is a bad idea in my opinion, I dont need status window commands in my channel window or popups in the status window

use the menu nicklist,query {
or the areas you want a menu in, not this wildcard method

#159977 22/09/06 07:18 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Quote:

if you dont want the menu to show up Everywhere then why are you using that wildcard method?

Frankly the menu * { } is a bad idea in my opinion, I dont need status window commands in my channel window or popups in the status window

use the menu nicklist,query {
or the areas you want a menu in, not this wildcard method

I have wildcards on some of my scripts as well as downloaded scripts. The script I'm creating doesn't use *'s. People that may use what I'm trying to create may very well also have some wildcard menu entries scattered out around their remote scripts. Are you saying that all users out there should disregard the fact that menu * exists and never use it? frown

My question was simple, hiding a menu no matter what in a @window. And obviously it cannot be totally hidden because there's bound to be someone out there using a * in one of their menus, either on purpose or using someone else's creation.

Thanks for trying.


We don't just write the scripts, we put them to the test! (ScriptBusters)
#159978 22/09/06 08:04 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Sad but true i guess.

I have seen others use a wildcard menu, and wondered why you would do that. Maybe if you are writing a bot its handy but I'll say again I see no point in having items for the nicklist showing in the status window FEX

Maybe someone knows a way to defeat it that isnt documented.

#159979 22/09/06 08:09 AM
Joined: Sep 2003
Posts: 261
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Sep 2003
Posts: 261
Quote:
Maybe someone knows a way to defeat it that isnt documented.

Like half the cool tricks we can do in mIRC that's not in the help file smile. Thanks again.


We don't just write the scripts, we put them to the test! (ScriptBusters)

Link Copied to Clipboard