MCP Posted October 25, 2007 Share Posted October 25, 2007 Is there a registry key or what I can set to make the dekstop taskbar disappear? Iwould like to change its settings according to my script. Thanks in advance. Link to comment Share on other sites More sharing options...
weaponx Posted October 25, 2007 Share Posted October 25, 2007 Don't want your wife to find it? Link to comment Share on other sites More sharing options...
DW1 Posted October 25, 2007 Share Posted October 25, 2007 LOL @weaponx AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Achilles Posted October 25, 2007 Share Posted October 25, 2007 (edited) Opt('WinTitleMatchMode', 4) WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) Sleep(5000) WinSetState ( "classname=Shell_TrayWnd", "", @SW_SHOW) EDIT: I think that's what you want... EDIT2: Forgot the Opt Edited October 25, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 25, 2007 Moderators Share Posted October 25, 2007 ControlHide will hide it. 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...
weaponx Posted October 25, 2007 Share Posted October 25, 2007 But seriously, here is the 6th item returned from google:http://www.autoitscript.com/forum/index.php?showtopic=27505 Link to comment Share on other sites More sharing options...
Achilles Posted October 25, 2007 Share Posted October 25, 2007 But seriously, here is the 6th item returned from google:http://www.autoitscript.com/forum/index.php?showtopic=27505You use Google for your AutoIt related searches?? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
weaponx Posted October 25, 2007 Share Posted October 25, 2007 You use Google for your AutoIt related searches??Not usually. I guess I'm used to looking for VB versions of scripts first. It's bass ackwards, I know. Link to comment Share on other sites More sharing options...
MCP Posted October 25, 2007 Author Share Posted October 25, 2007 Opt('WinTitleMatchMode', 4) WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) Sleep(5000) WinSetState ( "classname=Shell_TrayWnd", "", @SW_SHOW) EDIT: I think that's what you want... EDIT2: Forgot the OptYes, this does the trick, but what I am looking for is to change the setting so that the taskbar becomes sensible to the mouse and comes up when you are in its neighborhood and goes away as soon as you leave it... Link to comment Share on other sites More sharing options...
Achilles Posted October 25, 2007 Share Posted October 25, 2007 (edited) Well, just combine what I have with a simple mouse checking position. Something like this: Opt('WinTitleMatchMode', 4) While 1 $pos = MouseGetPos() If $pos[0] > @DesktopWidth - 25 then WinSetState ( "classname=Shell_TrayWnd", "", @SW_SHOW) Else WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) EndIf Sleep(40) WEnd EDIT: Tested it... note I use a taskbar on the side Edited October 25, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 25, 2007 Moderators Share Posted October 25, 2007 What's wrong with the taskbar Auto-Hide feature? 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...
MCP Posted October 25, 2007 Author Share Posted October 25, 2007 (edited) Well, just combine what I have with a simple mouse checking position. Something like this: Opt('WinTitleMatchMode', 4) While 1 $pos = MouseGetPos() If $pos[0] > @DesktopWidth - 25 then WinSetState ( "classname=Shell_TrayWnd", "", @SW_SHOW) Else WinSetState("classname=Shell_TrayWnd", "", @SW_HIDE) EndIf Sleep(40) WEnd EDIT: Tested it... note I use a taskbar on the sideWow... I am really impressed EDIT: I know this is not my field cos I am a systems engineer, but you guys of this great community make me feel a complete newbie... Jeez!! Edited October 25, 2007 by MCP Link to comment Share on other sites More sharing options...
DW1 Posted October 25, 2007 Share Posted October 25, 2007 @Piano_Man, why no [ autoit ] [ /autoit ] tags? AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 26, 2007 Share Posted October 26, 2007 Right click Taskbar -> PropertiesSeriously, what's wrong with this thread? Why duplicate standard winblows functionality? Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
weaponx Posted October 26, 2007 Share Posted October 26, 2007 Right click Taskbar -> PropertiesSeriously, what's wrong with this thread? Why duplicate standard winblows functionality?They say imitation is the highest form of flattery. I say Bill Gates head is big enough. Link to comment Share on other sites More sharing options...
MCP Posted October 27, 2007 Author Share Posted October 27, 2007 Right click Taskbar -> PropertiesWell, I know this flag, but I do not know if it corresponds to a registry key I can toggle: thus, at the moment, the solution provided by Piano_Man is the only one that works from inside my app. Link to comment Share on other sites More sharing options...
MadBoy Posted October 27, 2007 Share Posted October 27, 2007 Well, I know this flag, but I do not know if it corresponds to a registry key I can toggle: thus, at the moment, the solution provided by Piano_Man is the only one that works from inside my app.It's very simple to check if it's a registry key or not. You should look for sysinternals (now belongs to Microsoft) tool called regmon. You start it, then you change something and monitor what has changed in registry Simple as that. My little company: Evotec (PL version: Evotec) 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