PantZ4 Posted June 18, 2007 Share Posted June 18, 2007 I just have a week memory about a topic were we just ControlHide to fun stuff. We hide the start button and made it move so you couldn't hit it. Anyway now I need to hide the icon tray but I really can't remember what to write . I tried search but I gave up. So what shall I write? I have the Class name; Shell_TrayWnd And I shall use the ControlHide function. I have tried ControlHide("","",'ToolbarWindow32') and ControlHide("","",'Shell_TrayWnd') but those does not seem to work. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 18, 2007 Moderators Share Posted June 18, 2007 I just have a week memory about a topic were we just ControlHide to fun stuff. We hide the start button and made it move so you couldn't hit it. Anyway now I need to hide the icon tray but I really can't remember what to write . I tried search but I gave up. So what shall I write? I have the Class name; Shell_TrayWnd And I shall use the ControlHide function. I have tried ControlHide("","",'ToolbarWindow32') and ControlHide("","",'Shell_TrayWnd') but those does not seem to work.opt('wintitlematchmode', 4) controlhide('classname=shell_traywnd', '', 'ToolbarWindow321') Also from your examples..... ToolbarWindow32[Missing at least 1 number there] Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
PantZ4 Posted June 18, 2007 Author Share Posted June 18, 2007 opt('wintitlematchmode', 4) controlhide('classname=shell_traywnd', '', 'ToolbarWindow321') Also from your examples..... ToolbarWindow32[Missing at least 1 number there] Weird. It only says 32 not 321. Anyway thanks Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 18, 2007 Moderators Share Posted June 18, 2007 Weird. It only says 32 not 321. Anyway thanks If you are using the newer versions of AutoIt ... Jon re-wrote the info.exe. Now you must add "Instance" (Under the ClassNameNN) to the end of the "ClassNameNN" Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
systemhijack Posted June 19, 2007 Share Posted June 19, 2007 I just have a week memory about a topic were we just ControlHide to fun stuff. We hide the start button and made it move so you couldn't hit it. Anyway now I need to hide the icon tray but I really can't remember what to write . I tried search but I gave up.So what shall I write?I have the Class name; Shell_TrayWndAnd I shall use the ControlHide function.I have tried ControlHide("","",'ToolbarWindow32') and ControlHide("","",'Shell_TrayWnd') but those does not seem to work.#notrayicon Link to comment Share on other sites More sharing options...
herewasplato Posted June 19, 2007 Share Posted June 19, 2007 #notrayiconYou might want to reread the OP and SmOke_N's solution. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
crashdemons Posted September 5, 2007 Share Posted September 5, 2007 (edited) To get my edit of this script to work I had to do three things. 1. change the classname string to the correct case of letters 2. hide traynotifywnd because my task bar shows a static image of where the tray icons were 3. show the traynotifywnd as the image is now gone from it - leaving it hidden also removes the tray clock Note. if your tray icon section has expand buttons you may see a static image of the "expand" button while expanded, but it will be gone once collapsed. Also Note: if anything passes over the traynotifywnd control while the Tray icon toolbar is hidden, the traynotifywnd will take a static copy of the image of any thing passing on top of it. This code (for me) successfully replaces the icon tray with a blank space matching the taskbar theme. ;hide tray icons #NoTrayIcon Opt('wintitlematchmode', 4) ControlHide('classname=Shell_TrayWnd','', 'ToolbarWindow321') ;Hide the actual tray icon toolbar ControlHide('classname=Shell_TrayWnd','', 'TrayNotifyWnd1') ;Hide this control to eliminate any overlayed static images ControlShow('classname=Shell_TrayWnd','', 'TrayNotifyWnd1') ;Show this control to keep the clock ;Reshow the tray icons #NoTrayIcon Opt('wintitlematchmode', 4) ControlHide('classname=Shell_TrayWnd','', 'TrayNotifyWnd1') ;Hide this control to eliminate any overlayed static images ControlShow('classname=Shell_TrayWnd','', 'ToolbarWindow321') ;activate the actual tray icon toolbar ControlShow('classname=Shell_TrayWnd','', 'TrayNotifyWnd1') ;Show this control to display everything again Edited September 5, 2007 by crashdemons My Projects - WindowDarken (Darken except the active window) Yahsmosis Chat Client (Discontinued) StarShooter Game (Red alert! All hands to battlestations!) YMSG Protocol Support (Discontinued) Circular Keyboard and OSK example. (aka Iris KB) Target Screensaver Drive Toolbar Thingy Rollup Pro (Minimize-to-Titlebar & More!) 2D Launcher physics example Ascii Screenshot AutoIt3 Quine Example ("Is a Quine" is a Quine.) USB Lock (Another system keydrive - with a toast.) 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