Ninho Posted November 19, 2008 Share Posted November 19, 2008 Hi, guys and gals !I'm looking for a light command line program for use in batches, that will hide or close or minimise, etc, individual windows selected by (part of) their titles (or window class, etc.). On NT derivatives, I use "cmdow.exe" ; can you advise one for use on Windows 95/98/ME ? Should be a freeware/postcardware. Cheers Link to comment Share on other sites More sharing options...
Drugwash Posted November 21, 2008 Share Posted November 21, 2008 In a few minutes you can build yourself such an application in AutoHotkey. Example of an AHK script that will automatically close the windows whose titles and (partial) text are enumerated:#PersistentSetTimer, CloseWin, 250returnCloseWin:ControlSend, , {Enter}, Shortcut, The new shortcut will be placed on the desktop.ControlSend, , {Tab}, Hard Disk is Full, You have run out of disk spaceControlSend, , {Enter}, Hard Disk is Full, You have run out of disk spaceControlSend, , {Enter}, Damage Cleanup Engine (DCE), No Virus FoundControlSend, , {Enter}, Security Alert, You are about to be redirected to a connection that is not secure.ControlSend, , {Enter}, Microsoft Internet Explorer, Are you sure you want to log out?ControlSend, , {Enter}, Microsoft Internet Explorer, Are you sure you want to empty this folder?ControlSend, , {Enter}, Microsoft Internet Explorer, Are you sure you want to permanently delete the selected message(s)?ControlSend, , {Enter}, Microsoft Internet Explorer, Are you sure you want to permanently delete the content of the Spam folder?return Link to comment Share on other sites More sharing options...
Ninho Posted November 21, 2008 Author Share Posted November 21, 2008 (edited) In a few minutes you can build yourself such an application in AutoHotkey.Hmm, thank you. I have an old Norton Desktop for Windows (16 bits!) somewhere, could do similar stuff I bet.I'm rather after a specialised executable program (not a general macro interpreter) that will enumerate windows on the user desktop, apply required actions, and bail out. Like cmdow does in NT.Any such beast ?-- Ninho Edited November 21, 2008 by Ninho Link to comment Share on other sites More sharing options...
jaclaz Posted November 21, 2008 Share Posted November 21, 2008 See if nircmd works for you:http://www.nirsoft.net/utils/nircmd.htmlhttp://www.nirsoft.net/utils/nircmd2.htmljaclaz 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