Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Want to read Listbox

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
scarface010305
How do I cheat?
Reputation: 0

Joined: 15 Jun 2017
Posts: 8

PostPosted: Fri Aug 18, 2017 4:30 am    Post subject: Want to read Listbox Reply with quote

Hey there.

I want to read an ErrorList from an Game.
The Game automatically runs an ErrorList Window with a Listbox.

I would like to get the Items from this Listbox, to create a "better" View of what happened.


With this Script i just can read the Title of this Window.
I don't know how i can read the Listbox.

Code:
local handle = findWindow('ErrorWnd2')
local caption = getWindowCaption(handle)
print(caption)


The ErrorList Window looks like: (added image)

There i can see what the Game Added or Removed.
Code:
[Time] RL_AddToPartition guid=**** OrgObjID=**** refCount=**** type=****
[Time] RL_DelFromPartition guid=**** OrgObjID=**** refCount=**** type=****


I just want to know how i can get the Items, so i can work on my own Listbox which only shows what i actually can see..

I hope somebody can help me.



Unbenannt2.JPG
 Description:
 Filesize:  36.79 KB
 Viewed:  1317 Time(s)

Unbenannt2.JPG



Unbenannt.JPG
 Description:
 Filesize:  13.14 KB
 Viewed:  1317 Time(s)

Unbenannt.JPG


Back to top
View user's profile Send private message
ParkourPenguin
Grandmaster Cheater Supreme
Reputation: 52

Joined: 06 Jul 2014
Posts: 1775
Location: Arcadian Suburbia

PostPosted: Fri Aug 18, 2017 8:13 am    Post subject: Reply with quote

MSDN

More specifically, you may find EnumChildWindows or FindWindowEx to be useful.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites