c0ncentration Posted June 25, 2006 Posted June 25, 2006 sorry if this has been asked, how do i make an .au3 script to close all Windows Explorer? i use this: Send("!F") Send("C") but it wont work, because of focus problem, then it stops. thank you.
Briegel Posted June 25, 2006 Posted June 25, 2006 sorry if this has been asked, how do i make an .au3 script to close all Windows Explorer?i use this:Send("!F")Send("C")but it wont work, because of focus problem, then it stops.thank you.Read the helpfile -> WinClose, WinKill and WinList etc.
c0ncentration Posted June 25, 2006 Author Posted June 25, 2006 thanks. WinClose ( "title" [, "text"] ) WinKill ( "title" [, "text"] ) winclose or winkill require the title of window, it is impossible to list all the folders name in my hdd. Retrieves a list of windows. WinList ( ["title" [, "text"]] ) and how do i use winlist to list the open window and then close them? thanks again.
nfwu Posted June 25, 2006 Posted June 25, 2006 Opt("WinTitleMatchMode", 4) while WinExists("classname=CabinetWClass", "") WinKill("classname=CabinetWClass", "") wend #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode()
c0ncentration Posted June 25, 2006 Author Posted June 25, 2006 thank you nfwu. the code doesnt work, it runs non-stop and nothing gets closed.
MHz Posted June 25, 2006 Posted June 25, 2006 Use WinClose for explorer windows. WinKill has remarks in the helpfile for the exception of handling explorer windows.
c0ncentration Posted June 25, 2006 Author Posted June 25, 2006 beautiful, thank you very much MHz and nfwu, thank you, now one click i can close all windows explorer.
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