willwatters Posted July 27, 2005 Share Posted July 27, 2005 Is this statment correct: If WinExists("test.doc - Microsoft Word") OR WinExists("test - Microsoft Word") Then If not will you please correct. Thanks. Link to comment Share on other sites More sharing options...
FuryCell Posted July 27, 2005 Share Posted July 27, 2005 (edited) Is this statment correct:If WinExists("test.doc - Microsoft Word") OR WinExists("test - Microsoft Word") ThenIf not will you please correct.Thanks.<{POST_SNAPBACK}>Looks fine to me. Edited July 27, 2005 by SolidSnake HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. Link to comment Share on other sites More sharing options...
scriptkitty Posted July 27, 2005 Share Posted July 27, 2005 You can always test logic with simple code:if 1=1 or 2=3 then msgbox(1,"test shown as","true") else msgbox(1,"test shown as"."not true") Endifjust make sure you set WinTitleMatchMode to what you wantAlters the method that is used to match window titles during search operations.1 = Match the title from the start (default)2 = Match any substring in the title3 = Exact title match4 = Advanced mode, see Window Titles & Text (Advanced) AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now