Jump to content
Sign in to follow this  
sumkid

hide running programs

Recommended Posts

sumkid

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?

Share this post


Link to post
Share on other sites
maqleod

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

Share this post


Link to post
Share on other sites
sumkid

how do you use it? im confused? i put anygui in my includes folder

Edited by sumkid

Share this post


Link to post
Share on other sites
sumkid

is there any way i could use that on other programs? like make an autoitscript that will hide other EXE's?

Edited by sumkid

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
BobK

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.

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.