Sign in to follow this  
Followers 0
TSprouse

Test for Window existance

3 posts in this topic

Firstly, im new to AutoIT scripting, and have ran a few breif searches for this but didnt find anything.

I have simple script so far that runs a setup program, and sends keystrokes to it.

Run("\\amb-ds1\app-load-pt\plugin.exe")

Send("!r")
WinWaitActive("WinZip Self-Extractor - Plugin.exe", "&Setup")
Send("!s")

But i want to test for the Existence of a couple different windows (bsaed on Window Title) after the install runs so i can know which additional keys to send if any. is there a way to do this?

Thanks,

Travis

Share this post


Link to post
Share on other sites



WinActive also checks if the window is active so I would expect that WinExists would be what you want.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

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  
Followers 0