sumkid Posted September 9, 2007 Posted September 9, 2007 anyway i can hide programs running from showing up in the taskbar and possibly in the bottom right with the mini icons (sorry please dont flame i forgot what its called.) is there any way whether its autoit or not?
GreenHouse Posted September 9, 2007 Posted September 9, 2007 How about using a transparant icon? - Pas
maqleod Posted September 9, 2007 Posted September 9, 2007 you can hide windows to remove them from the taskbar, but they'll be removed from the desktop view as well, I've written a program that hides windows and keeps track of what it has hidden in a registry file so you can easily restore the windows at a later point. AnyGui.au3 (search for it in example scripts) has a function that can add styles to any window, autoit or not, don't know if you'd be able to apply the exstyle $WS_EX_TOOLWINDOW to a window for the result you want, but that style makes the window not appear in the taskbar. [u]You can download my projects at:[/u] Pulsar Software
sumkid Posted September 9, 2007 Author Posted September 9, 2007 (edited) how do you use it? im confused? i put anygui in my includes folder Edited September 9, 2007 by sumkid
sumkid Posted September 9, 2007 Author Posted September 9, 2007 (edited) is there any way i could use that on other programs? like make an autoitscript that will hide other EXE's? Edited September 9, 2007 by sumkid
Moderators SmOke_N Posted September 9, 2007 Moderators Posted September 9, 2007 For the system tray icons, you may want to look at: http://www.autoitscript.com/forum/index.ph...c=13704&hl=For the icons in the task, you may want to look at the WM commands on msdn and SendMessage. 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.
BobK Posted September 9, 2007 Posted September 9, 2007 A good way to hide a window is to simply move it to coordinates that are off the screen. For example, $mainwindow = GUICreate("Color1", 1,1,-200,-100,0x00C00000,$WS_EX_TOOLWINDOW) creates a window that is really small, 1 by 1 (which wasn't really necessary but done just for demonstration purposes), and displays it at -200,-100, which is offscreen and therefore not visible. The $WS_EX_TOOLWINDOW makes it a tool window, which means it does not show up in the taskbar -- if that is desired. Add in #NoTrayIcon so that no icon appears in the tray and you have a program that is invisible -- even Alt-TAB will not show it. However, Task Manager will show it under processes and you can stop it there, if necessary. I run the program from a Delphi program, exchange data between the two and the Delphi program then closes the AutoIt program. Controls do not need to be on-screen to be detected and manipulated by the AutoIt functions. If you want to have one program make another program invisible, you can use WinMove to move it off the screen.
Moderators SmOke_N Posted September 9, 2007 Moderators Posted September 9, 2007 A good way to hide a window is to simply move it to coordinates that are off the screen. For example, $mainwindow = GUICreate("Color1", 1,1,-200,-100,0x00C00000,$WS_EX_TOOLWINDOW) creates a window that is really small, 1 by 1 (which wasn't really necessary but done just for demonstration purposes), and displays it at -200,-100, which is offscreen and therefore not visible. The $WS_EX_TOOLWINDOW makes it a tool window, which means it does not show up in the taskbar -- if that is desired. Add in #NoTrayIcon so that no icon appears in the tray and you have a program that is invisible -- even Alt-TAB will not show it. However, Task Manager will show it under processes and you can stop it there, if necessary. I run the program from a Delphi program, exchange data between the two and the Delphi program then closes the AutoIt program. Controls do not need to be on-screen to be detected and manipulated by the AutoIt functions. If you want to have one program make another program invisible, you can use WinMove to move it off the screen.How is that relative to what the OP is requesting? 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.
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