Mingre Posted May 18, 2011 Share Posted May 18, 2011 (edited) Does such exist? Like how WinGetHandle() retrieves the handle through a window's title. I know I can use the Windows Info Tool or Control Viewer (from Example Scripts forum), but how about an alternative method? Sorry if I'm always asking. Just that I can't really find a solution using the AutoIT Help file nor by searching the forums. Thanks! (BTW, this is a recycled thread which was also related to the topic at hand. I felt the urge to reuse it since I always makes new threads!) Edit--- Found this: by bo8ster Edited May 22, 2011 by Lilbert Link to comment Share on other sites More sharing options...
Mingre Posted May 18, 2011 Author Share Posted May 18, 2011 (edited) It turns out that the ControlID parameter is equivalent to the ClassnameNN (since I get the script working). Is this always true? Edited May 18, 2011 by Lilbert Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 18, 2011 Moderators Share Posted May 18, 2011 Lilbert,Is this always true?Yes - the 2 values are interchangeable as ID parameters. Look at the <Using AutoIt - Window Titles and Text (Advanced)> page in the Help file to see how you can use several different methods to identify a control. 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...
Mingre Posted May 22, 2011 Author Share Posted May 22, 2011 (Edited the topic.) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 22, 2011 Moderators Share Posted May 22, 2011 Lilbert,this is a recycled threadThis is one of the most stupid things I have seen here. People use old threads as a valuable resource for searches - you have effectively made this thread completely useless as the subsequent posts no longer relate to the question in the first. People have been banned for doing this - next time just start a new thread. If you feel guilty about creating lots of new threads (which you need not do if they are valid questions), just donate some money to help Jon with the hosting costs! 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...
Mingre Posted May 22, 2011 Author Share Posted May 22, 2011 Lilbert,This is one of the most stupid things I have seen here. People use old threads as a valuable resource for searches - you have effectively made this thread completely useless as the subsequent posts no longer relate to the question in the first. People have been banned for doing this - next time just start a new thread. If you feel guilty about creating lots of new threads (which you need not do if they are valid questions), just donate some money to help Jon with the hosting costs! M23Sorry, I seriously thought that my questions would not benefit other users since they're sort of, ugh, newbie-ish. I guess I should've just created a new thread since no one's actually reprimanding me for creating too much.(About making a donation, I'd really want too but am still in the first years of college and have no work, hence, do not yet support myself financially.) Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 22, 2011 Moderators Share Posted May 22, 2011 Lilbert,I seriously thought that my questions would not benefit other users since they're sort of, ugh, newbie-ishAnd you think other new users would not benefit from that type of question? Please do not do it again! 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...
Mingre Posted May 22, 2011 Author Share Posted May 22, 2011 Got that. And thanks for not being too harsh while actually warning me! LOL. 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