MulliGun Posted 12 hours ago Posted 12 hours ago Having the GUI like below: How can I access the list view items in the Collections tab? I'd like to iterate the list elements and call some action on every one of them. What I've managed to accomplish so far is getting the handle to the SysTabControl32 control, getting the tabs count, listing the tab names itself: #include <Array.au3> #include <WinAPI.au3> #include <WinAPISysWin.au3> #include <GUIConstantsEx.au3> #include <GuiMenu.au3> #include <GuiTab.au3> #include <GUIConstantsEx.au3> #include <GuiTab.au3> $hWnd = WinGetHandle("Sprite Creator") $hMenu = _GUICtrlMenu_GetMenu($hWnd) $searchTAB = "Images" $txt = "" $hSysTabControl32 = ControlGetHandle ( $hWnd,"",'[CLASS:SysTabControl32; INSTANCE:2]' ) For $i = 0 To _GUICtrlTab_GetItemCount ( $hSysTabControl32 ) - 1 $txt = _GUICtrlTab_GetItemText ( $hSysTabControl32,$i ) ConsoleWrite($i&": " & $txt & @CRLF) Next ConsoleWrite("Row count: " & _GUICtrlTab_GetRowCount($hSysTabControl32)& @CRLF) BUT have no idea HOW can i access the list view embedded into the Collections tab? Thx for any suggestions and help in advance!
Moderators Melba23 Posted 11 hours ago Moderators Posted 11 hours ago MulliGun, Please read the forum rules regarding game automation before you post again. However, as this particular query only deals with accessing listview items I am happy for it to remain open. But no actual game automation in future posts - understood? 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
MulliGun Posted 4 hours ago Author Posted 4 hours ago Game automation!??? WHERE do You have game automation? Firstly, It's definitely NOT a GAME - it's ONLY a fan made third party app - a tool for a game resources edition. Secondly - I'm absolutely NOT going to crack/de-compile or do sth. similar task that CAN potentially violate any copyrights stuff! I'd like ONLY to automate some actions which one have to perform manually just by clicking some buttons etc. One again I'm NOT going to integrate to the code of the application in ANY way, BTW as we've already said this is NOT a game but an unofficial fan made tool for a game! So I'm completely do NOT understand Yours concerns... Anyway thx. for topic suggestions.
MulliGun Posted 4 hours ago Author Posted 4 hours ago MOREOVER I'm definitely doing this task ONLY for my PRIVATE purpose!. I'm NOT going to public share this code anywhere and for anyone! I'm assure You!!!
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