CyberSlug 6 Posted July 2, 2004 This program is supposed to help you get the classnameNN's of window controls. (Written so that I do not have to keep switching among AutoIt Window Spy, my text editor, and an installer I was trying to automate.)http://www.autoitscript.com/fileman/users/public/CyberSlug/SpyThing.au3Notes: Does not work well with frame controls. "Buttons" (bt) could include radio and checkbox controls. "Labels" (lb) could include picture controls.Run SpyThing, run a program such as "calc", then press Win+S...http://www.autoitscript.com/fileman/users/public/CyberSlug/SpyThingEx.png:http://www.autoitscript.com/fileman/users/public/CyberSlug/SpyThingEx.png 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
CyberSlug 6 Posted July 2, 2004 Uploaded slightly modified version: Because frames appear as buttons (and hide other controls), you can hide a button by clicking on it. Press Win+F5 to refresh/restore the window... I also added tooltips with controls' text. 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
emmanuel 0 Posted July 2, 2004 well, that's interesting and handy... it'd be cool to be able to somehow click the button to copy the text to the clipboard... maybe shift-click to hide buttons? (I'm GUI-Ignorant here, don't know if that's possible) "I'm not even supposed to be here today!" -Dante (Hicks) Share this post Link to post Share on other sites
CyberSlug 6 Posted July 22, 2004 Oops, I never got around to answering your question.... I can add that feature.I also have ideas to turn SpyThing into something that resembles Larry's AU3ScriptWriter:1) User chooses some installer to run via a FileOpenDialog.2) User waits for the installer to pop up a window.3) User presses a key (such as Pause) to capture the title, text, and control information of that window.4) A SpyThing-like window appears and the user clicks the corresponding button/checkbox/whatevers.5) SpyThing records the click information and performs the same action on the actual installer window.6) GOTO Step 2; Idea of what kind of script I'd *like* to generate $title = "Welcome to Setup" #cs The text body of the setup window would go here The info might span multiple lines I'd probably put it in a comment block so that the user could extract what info he needs #ce WinWait($title) ControlClick($title, "", "&Continue") ;...Get after me if I don't post to this thread within a week 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