Jump to content



WinClose


  • Please log in to reply
5 replies to this topic

#1 Guest_xeneizeusa_*

Guest_xeneizeusa_*
  • Guests

Posted 08 September 2004 - 08:59 PM

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





#2 Jos

Jos

    oh joy ...

  • Developers
  • 21,057 posts

Posted 08 September 2004 - 09:05 PM

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=...

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#3 Guest_xeneizeusa_*

Guest_xeneizeusa_*
  • Guests

Posted 09 September 2004 - 01:56 PM

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

#4 sugi

sugi

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 441 posts

Posted 09 September 2004 - 02:05 PM

WinClose, \\oscadvzps1\GMAFiles\Archive

You're either posting in the wrong forum (this is 3.x) or you're using a far outdated version of AutoIt.

#5 Matt @ MPCS

Matt @ MPCS

    Just another AutoIt user trying to help out! :)

  • Active Members
  • PipPipPipPipPipPip
  • 700 posts

Posted 09 September 2004 - 02:53 PM

@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

#6 Guest_xeneizeusa_*

Guest_xeneizeusa_*
  • Guests

Posted 09 September 2004 - 03:15 PM

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. :(




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users