mIRC Homepage
Posted By: Scorpwanna /window menu hiding - 22/09/06 12:38 AM
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.
Posted By: MikeChat Re: /window menu hiding - 22/09/06 01:35 AM
if you mean @custom windows? you can do a +d
or
/window -w0 +d @yes 200 100 200 100
Posted By: Scorpwanna Re: /window menu hiding - 22/09/06 03:44 AM
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.
Posted By: MikeChat Re: /window menu hiding - 22/09/06 04:33 AM
/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
Posted By: Scorpwanna Re: /window menu hiding - 22/09/06 05:47 AM
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
Posted By: Scorpwanna Re: /window menu hiding - 22/09/06 05:53 AM
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.
Posted By: MikeChat Re: /window menu hiding - 22/09/06 07:06 AM
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
Posted By: Scorpwanna Re: /window menu hiding - 22/09/06 07:18 AM
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.
Posted By: MikeChat Re: /window menu hiding - 22/09/06 08:04 AM
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.
Posted By: Scorpwanna Re: /window menu hiding - 22/09/06 08:09 AM
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.
© mIRC Discussion Forums