Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check for new messages trigger
#4
Your code can be optimized to eat less CPU.
1. Remove the 1 from Find(1).
2. Search in a smaller area, not in entire window. Find that area (a parent or ancestor UI element of the wanted element) at the start, and later search in it.


Messages In This Thread
check for new messages trigger - by Davider - 03-08-2024, 12:34 PM
RE: check for new messages trigger - by Gintaras - 03-08-2024, 02:32 PM
RE: check for new messages trigger - by Davider - 03-08-2024, 11:45 PM
RE: check for new messages trigger - by Gintaras - 03-09-2024, 05:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)