snomi Posted May 25, 2015 Share Posted May 25, 2015 (edited) I'm looking for something similar but the code in this thread isn't working for me.Say for example I'm looking to hide Notepad from the taskbar and make it have all it's options in the tray instead. I got the tray side of things working but still can't get rid of the taskbar button (you know, where it minimizes to).Can anyone shed some light on an up-to-date script for this? Maybe the above doesn't work in Windows 7 / 8 & 10. Many thanks in advance. Edited May 25, 2015 by Melba23 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 25, 2015 Moderators Share Posted May 25, 2015 snomi,When you posted in the above linked thread, did you notice that the last post dates from over 10 years ago?Please do not necro-post like this again - just open a new thread and link to the old one ( like I have now done for you) if it is absolutely necessary for understanding the problem. We ask you to do this for two main reasons:- 1. The language advances and the functionality might well be included in core or UDF code by now- 2. The changes in language syntax mean that it is likely that code from more than a couple of years ago may well not run under the current release interpreter without significant modification.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Bert Posted May 26, 2015 Share Posted May 26, 2015 The rare decade shot! Going to be more and more common as time goes on but for now that is impressive! The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
snomi Posted May 26, 2015 Author Share Posted May 26, 2015 I'm aware I brought up an old topic, I'm sorry for resurrecting such an old thread and I'm sorry for doing it incorrectly; this stuff is going to happen when people use search engines. However, I am still in need of some advice regarding the topic. Link to comment Share on other sites More sharing options...
Bert Posted May 27, 2015 Share Posted May 27, 2015 I'm aware I brought up an old topic, I'm sorry for resurrecting such an old thread and I'm sorry for doing it incorrectly; this stuff is going to happen when people use search engines. However, I am still in need of some advice regarding the topic.no - this stuff happens when people do not read when the thread was created that they end up necroing. . The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
JohnOne Posted May 27, 2015 Share Posted May 27, 2015 GUICreate("gui", Default, Default, Default, Default, Default, Default, WinGetHandle("Program Manager")) GUISetState() Do Until GUIGetMsg() = -3 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
snomi Posted May 30, 2015 Author Share Posted May 30, 2015 (edited) GUICreate("gui", Default, Default, Default, Default, Default, Default, WinGetHandle("Program Manager")) GUISetState() Do Until GUIGetMsg() = -3 Almost there. But I want to do this for another application so say for example Notepad. I found something that almost does it but it also hides the Notepad window completely. Edit: not sure what happened to the quote there but I did leave it intact. Edited May 30, 2015 by Jon Forum broke the quote. Link to comment Share on other sites More sharing options...
jguinch Posted May 30, 2015 Share Posted May 30, 2015 One way is to use ObjCreateInterface : look at the help file, the example does exatly what you want. Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
snomi Posted June 1, 2015 Author Share Posted June 1, 2015 One way is to use ObjCreateInterface : look at the help file, the example does exatly what you want.That seems to do the trick. Thanks. Although as an experimental feature I can only hope it stays Link to comment Share on other sites More sharing options...
snomi Posted June 1, 2015 Author Share Posted June 1, 2015 I'm having trouble finding further documentation for this. So far I have the following:$oTaskbarList.DeleteTab($windowhandle)That deletes the item from the taskbar which is great but I can't seem to find a way to bring it back again. Is that even possible after it's been deleted? Link to comment Share on other sites More sharing options...
jguinch Posted June 1, 2015 Share Posted June 1, 2015 Look at the MSDN page : https://msdn.microsoft.com/en-us/library/windows/desktop/bb774646(v=vs.85).aspx (the AddTab method should work) Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
snomi Posted June 3, 2015 Author Share Posted June 3, 2015 Look at the MSDN page : https://msdn.microsoft.com/en-us/library/windows/desktop/bb774646(v=vs.85).aspx (the AddTab method should work) Thank you very much. Everything does what I want it to do 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