Jump to content

WinExists("part window name")


 Share

Recommended Posts

Is it possible to use the "WinExists" command and have it locate only part of the windows title?

Say I have a notepad window opened being titled as...

"This is my notepad document"

Could I get the "WinExists" command to only locate the word document, and go from that?

Thanks in advance!

Link to comment
Share on other sites

Opt("WinTitleMatchMode",2)

itll match any part

Opt("WinTitleMatchMode",4)

thatll let you use classname

for specification to just a word document window

Edited by B3TA_SCR1PT3R

[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

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