probedrone Posted August 30, 2006 Share Posted August 30, 2006 Im writing a autoit program to automate the customization of desktops. One thing I'm missing is that I dont know how to make my computer icon show on desktop other than right clicking it with the mouse and clicking "show on desktop". We all know that mouseclicks and positioning isnt very trustworthy, so does anyone else know of a way to accomplish this? Thanks! I may have more questions later Link to comment Share on other sites More sharing options...
lod3n Posted August 31, 2006 Share Posted August 31, 2006 WinMinimizeAll ( ) ;Hide My Computer RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" ,"{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "REG_DWORD", 1 ) send("{f5}") sleep(2000) ;Show My Computer RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" ,"{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "REG_DWORD", 0 ) send("{f5}") [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] 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