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 


Get opened windows title

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
dudial
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 16

PostPosted: Wed Jul 24, 2013 6:26 am    Post subject: Get opened windows title Reply with quote

there is no possibility to get the title of all openend windows, isnt it ?

something like getWindowlist, similar to getProcesslist.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25287
Location: The netherlands

PostPosted: Wed Jul 24, 2013 6:30 am    Post subject: Reply with quote

Well, you could use lua to open the processwindow, click on the window list button and then parse the listbox(ugly and is visible to the user), but officially, no. Not right now
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dudial
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 16

PostPosted: Wed Jul 24, 2013 11:47 pm    Post subject: Reply with quote

thanks dark byte.

another question. i have a GUI and my script runs about 5-10 aobscans in one go within in a 'for loop'.

script is working fine, but while executing this loop it totally freezes the GUI, all the conent ot the listbox (lb) is gone, and control_setcaption can't update the GUI because it's frozen. sleep(250) didnt help.

example:

for i = 1, strings_getCount(lb) do
results = autoAssemble(aobscan(string(i -1))
control_setCaption(MainGUI[19], results)
sleep(250)
end
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25287
Location: The netherlands

PostPosted: Thu Jul 25, 2013 1:21 am    Post subject: Reply with quote

processMessages() will handle gui events. (call that after setCaption )

Alternatively, use createNativeThread(function) to run your code in a different thread and use thread_synchronize to call control_setCaption

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dudial
Newbie cheater
Reputation: 0

Joined: 15 Jul 2013
Posts: 16

PostPosted: Thu Jul 25, 2013 2:34 am    Post subject: Reply with quote

perfect Wink

thank you
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