View previous topic :: View next topic |
Author |
Message |
dudial Newbie cheater Reputation: 0
Joined: 15 Jul 2013 Posts: 16
|
Posted: Wed Jul 24, 2013 6:26 am Post subject: Get opened windows title |
|
|
there is no possibility to get the title of all openend windows, isnt it ?
something like getWindowlist, similar to getProcesslist.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Wed Jul 24, 2013 6:30 am Post subject: |
|
|
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 |
|
|
dudial Newbie cheater Reputation: 0
Joined: 15 Jul 2013 Posts: 16
|
Posted: Wed Jul 24, 2013 11:47 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Thu Jul 25, 2013 1:21 am Post subject: |
|
|
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 |
|
|
dudial Newbie cheater Reputation: 0
Joined: 15 Jul 2013 Posts: 16
|
Posted: Thu Jul 25, 2013 2:34 am Post subject: |
|
|
perfect
thank you
|
|
Back to top |
|
|
|