Jump to content

WinClose


Guest xeneizeusa
 Share

Recommended Posts

Guest xeneizeusa

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

  • Developers

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

Guest xeneizeusa

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

Guest xeneizeusa

Much thanks Larry! That worked. :ph34r:

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...