ru812 0 Posted February 27, 2004 First off I am an autoit newb. I am also not much of a programmer. I am trying very simply to push a button on an app i started up. I identified the button with autoit window spy but i cannot figure out how to push it. Share this post Link to post Share on other sites
CyberSlug 6 Posted February 27, 2004 ControlClick ( "titleOfWindowGoesHere", "", "Button1")The Control___ functions are the weak point in the AutotIt documentation....Instead of "Button1", you could use the text. For example, if the button says Exit you woud use "E&xit"Hope that helps Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Share this post Link to post Share on other sites
ru812 0 Posted February 27, 2004 Thanks I had just figured that out So when using WinWaitActive do i have to give the exact title? The app i am firing has a title that changes slightly when the version changes. ie: Application Coolness Ver1.(changes here) Share this post Link to post Share on other sites
ru812 0 Posted February 27, 2004 nm i rtfm'd and foudn that it does indeed match partial titles. Share this post Link to post Share on other sites
CyberSlug 6 Posted February 27, 2004 Look at the help file contents:Using AutoIt | Window Titles and Text (Advanced)You can set a mode to match exact title, partial title, title starts with, or title contains Opt("WinTitleMatchMode", 1) ;1=start, 2=subStr, 3=exact, 4=... Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Share this post Link to post Share on other sites
ru812 0 Posted February 27, 2004 (edited) bleh i'll read more Edited February 27, 2004 by ru812 Share this post Link to post Share on other sites