Velnes Posted February 16, 2011 Share Posted February 16, 2011 hi again,ive tryed searching but i dont actualy even hav an idea of wat to search for htis i want to know how can i press a button of winrar window... like when u run "example.sfx.exe" and then the window opens there u press install.. i would like to knw how to press install without moving mouse there... thnx very much for who will help Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 16, 2011 Moderators Share Posted February 16, 2011 Velnes,Use the Window Info tool to get some details of the GUI and the button in question and then use ControlClick. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Gideon Posted February 16, 2011 Share Posted February 16, 2011 look at the controlclick function. I always use wingetclasslist first to find which button I need to press. If wingetclasslist returns more then one button, you'll have to search for the button with controlclick (button1, button2, etc.) Many times you need to think like hobby-bob:') Link to comment Share on other sites More sharing options...
Gideon Posted February 16, 2011 Share Posted February 16, 2011 (edited) Velnes,Use the Window Info tool to get some details of the GUI and the button in question and then use ControlClick. M23Nice! Where can I find that window info tool? I don't have it. Edited February 16, 2011 by Gideon Many times you need to think like hobby-bob:') Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 16, 2011 Moderators Share Posted February 16, 2011 Gideon,I don't have itYes you do - it comes as part of AutoIt! If you did a standard install you will find it at "C:\Program Files\AutoIt3\Au3Info.exe". It is pretty easy to use - just drag the "gunsight" over the GUI you want to investigate and you get lots of info about it. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Gideon Posted February 16, 2011 Share Posted February 16, 2011 Gideon,Yes you do - it comes as part of AutoIt! If you did a standard install you will find it at "C:\Program Files\AutoIt3\Au3Info.exe". It is pretty easy to use - just drag the "gunsight" over the GUI you want to investigate and you get lots of info about it. M23Really nice<3, I didn't saw that it was installed.. Many times you need to think like hobby-bob:') Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 16, 2011 Moderators Share Posted February 16, 2011 Gideon,When you reply please use the "Add Reply" button at the top and bottom of the page rather then the "Reply" button in the post itself. That way you do not get the contents of the previous post quoted in your reply and the whole thread becomes easier to read. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Gideon Posted February 16, 2011 Share Posted February 16, 2011 @M23 Sorry, better like this? Many times you need to think like hobby-bob:') Link to comment Share on other sites More sharing options...
Velnes Posted February 17, 2011 Author Share Posted February 17, 2011 thank you all for your help..sry i didnt reply im just busy all day every day ill try all ur stuff that u sayd thnx again Link to comment Share on other sites More sharing options...
Velnes Posted February 18, 2011 Author Share Posted February 18, 2011 hmm this control click isnt so accurate...maybe there si a better way? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 18, 2011 Moderators Share Posted February 18, 2011 Velnes,What did the Window Info tool tell you about the GUI and the control and what did you put into the ControlClick parameters? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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