Tagor Posted April 2, 2005 Share Posted April 2, 2005 Is there a way to select the last option of a list? With a list I mean a box that has several option and where you can highlight one option. Link to comment Share on other sites More sharing options...
Tagor Posted April 3, 2005 Author Share Posted April 3, 2005 Kick . Link to comment Share on other sites More sharing options...
igmeou Posted April 3, 2005 Share Posted April 3, 2005 Can be a little more specific by providing some screenshots or codes to describe your problem? [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever) Link to comment Share on other sites More sharing options...
Tagor Posted April 3, 2005 Author Share Posted April 3, 2005 Here is an example Link to comment Share on other sites More sharing options...
igmeou Posted April 3, 2005 Share Posted April 3, 2005 If for that example... (maynot be the best but it should work) The first 2 steps is only to set focus. In short just Send Shift+End to the program. 1. Set focus to that window (eg. WinWaitActive("Add Hardware Wizard", "Installed Harware") 2. Make sure the List is in focus (eg. MouseClick or {Tab} but this case it is already in focus) 3. Send("+{END}") [font="Arial"]Thanks[/font]If @error = me Then $sorry Else Do $clarifyMe Until $meClear EndIF MsgBox(0,"Special Message!","Special Thanks to " & $allHadReplied,$Forever) Link to comment Share on other sites More sharing options...
Tagor Posted April 3, 2005 Author Share Posted April 3, 2005 Well, that's not really an option. Because I would like to get this working under all windows version. And there are a lot of languages in windows. Link to comment Share on other sites More sharing options...
Tagor Posted April 6, 2005 Author Share Posted April 6, 2005 Kick Link to comment Share on other sites More sharing options...
CyberSlug Posted April 7, 2005 Share Posted April 7, 2005 $winTitle = "Add Hardware Wizard" ControlSend($winTitle,"", "SysListView321", "^{End}") If the hard-coded window title is a problem, you can call WinGetTitle or WinGetHandle when the window first appears Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
DaveF Posted April 7, 2005 Share Posted April 7, 2005 If your goal is to add hardware, you might look at the command line DEVCON tool rather than running the hardware wizard. Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines. Link to comment Share on other sites More sharing options...
Tagor Posted April 8, 2005 Author Share Posted April 8, 2005 If your goal is to add hardware, you might look at the command line DEVCON tool rather than running the hardware wizard.<{POST_SNAPBACK}>Cool, thanks! 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