Guest xeneizeusa Posted September 8, 2004 Share Posted September 8, 2004 I need to close multiple windows with UNC titles. I can't seem to make the WinClose command execute properly. It has only worked for a titled Notepad window. My window titles shows the full UNC path \\servername\share folder. TIA Link to comment Share on other sites More sharing options...
Developers Jos Posted September 8, 2004 Developers Share Posted September 8, 2004 I need to close multiple windows with UNC titles. I can't seem to make the WinClose command execute properly. It has only worked for a titled Notepad window. My window titles shows the full UNC path \\servername\share folder. TIA <{POST_SNAPBACK}>You can use AU3_Spy.exe to find the correct window title and check if you are using the correct windowTitleMatch Mode: Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Guest xeneizeusa Posted September 9, 2004 Share Posted September 9, 2004 You can use AU3_Spy.exe to find the correct window title and check if you are using the correct windowTitleMatch Mode: Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=... <{POST_SNAPBACK}>Thank You! I did run both Au3 and AutoIt reveal mode and I copied and pasted the Windows title and it still did not work. Here is a sample with the first open window I'm trying to close, the other 6 lines are similar: WinClose, \\oscadvzps1\GMAFiles\Archive Link to comment Share on other sites More sharing options...
sugi Posted September 9, 2004 Share Posted September 9, 2004 WinClose, \\oscadvzps1\GMAFiles\ArchiveYou're either posting in the wrong forum (this is 3.x) or you're using a far outdated version of AutoIt. Link to comment Share on other sites More sharing options...
Matt @ MPCS Posted September 9, 2004 Share Posted September 9, 2004 @Larry, Is that documented anywhere in the help file? I am sure I have seen it somewhere before but I don't recall if it was on the forum or if I read it in the online help. *** Matt @ MPCS Link to comment Share on other sites More sharing options...
Guest xeneizeusa Posted September 9, 2004 Share Posted September 9, 2004 Much thanks Larry! That worked. I do apologize for not recognizing that I had downloaded and installed ver 2.64 and posted on a 3x thread. My Bad. 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