Jump to content
Sign in to follow this  
hlstriker

WinExists("part window name")

Recommended Posts

hlstriker

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!

Share this post


Link to post
Share on other sites
B3TA_SCR1PT3R

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]

Share this post


Link to post
Share on other sites
HardCopy

someone else beat me

Edited by HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

Share this post


Link to post
Share on other sites
B3TA_SCR1PT3R

someone else beat me

<{POST_SNAPBACK}>

damn straight

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

Share this post


Link to post
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
Sign in to follow this  

×