mattw112 Posted May 24, 2006 Share Posted May 24, 2006 I was wondering what the best way to do this is? When I'm doing an uninstall on a machine, sometime there are windows open on the machines before I start. Could be error dialogs, could be other apps, whatever. I want to close all windows that are open on the machine before doing the uninstall. Some may be minimized, some may be maximized, some I guess could even be hidden. The other piece is I don't know all the possible combination of things that could be open so I can't kill the processes. Is there a way to either gett his information, or maybe just maximize all windows and then do a winclose one at a time, or maybe another command to say close all open windows, which would be the easiest? Thanks, Terry PS - I'm fairly new to this so if I'm missing something let me know! Thanks. Link to comment Share on other sites More sharing options...
CyberSlug Posted May 24, 2006 Share Posted May 24, 2006 Sounds risky in that a user could lose unsaved data. I think I've seen, sometwhere in these forums, an example using WinList to help close all windows. I'd personally just ProcessClose the program you are trying to uninstall.... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
mattw112 Posted May 25, 2006 Author Share Posted May 25, 2006 (edited) Sounds risky in that a user could lose unsaved data. I think I've seen, sometwhere in these forums, an example using WinList to help close all windows.I'd personally just ProcessClose the program you are trying to uninstall....Thanks, I'll look for some winlist stuff.Closing processes would be fine, except not knowing the name. Could be many different things open, not just what I'm uninstalling. As for users losing info, were giving them warning in advance, 30 min, blocking input, etc...Terry Edited May 25, 2006 by mattw112 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