Jump to content
Sign in to follow this  
=sinister=

IfWinExist

Recommended Posts

=sinister=

Anybody know the command "IfWinExist" for the newest version?

Share this post


Link to post
Share on other sites
Valuater

if WinExist

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
=sinister=

lol. Very funny. seriously, what is it?

is it -

IfWinExist,WINDOW,, COMMAND?

Edited by =sinister=

Share this post


Link to post
Share on other sites
B3TA_SCR1PT3R

ever heard of the helpfile?


[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
Valuater

WinExists ( "title" [, "text"] )

stairght from help

look it up like this.....

on your computer press the following

Start > All Programs > Autoit v3 > Autoit Help File

when that loads then press the "search" tab

then type in "WinExist" and press "List Topics"

**** you can do this with any word you want

thats what i do all the time

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
=sinister=

uh ya, i need the IFwinexist. And I looked it up, and put it in my script and now it has an error

Share this post


Link to post
Share on other sites
=sinister=

nvm, got it to work! Thanks!

Share this post


Link to post
Share on other sites
novi

;) hello everyone, I´m speak inglish no mush, the help for WinExist is:

WinExists

--------------------------------------------------------------------------------

Checks to see if a specified window exists.

WinExists ( "title" [, "text"] )

Parameters

title The title of the window to check.

text [optional] The text of the window to check.

Return Value

Returns 1 if the window exists, otherwise returns 0.

Remarks

WinExist will return 1 even if a window is hidden.

Related

WinActive, WinWait, WinWaitActive, WinWaitClose, WinWaitNotActive, WinTitleMatchMode (Option)

Example

If WinExists("Untitled -") Then

MsgBox(0, "", "Window exists")

EndIf


[COLOR=green]

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  

×