Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check for new messages trigger
#1
I'm using the script below to check for new messages, and it's working well.
https://i.ibb.co/hWCPcmp/a.png

I think LA window triggers should be able to achieve the same functionality. I'm not very familiar with how LA triggers work.
Could you provide a code example?

Also, I'm curious which of these methods is more resource-efficient?

Code:
Copy      Help
// script "newMes.cs"
//.
script.setup(trayIcon: true, sleepExit: true);
//..

print.clear();

L1:

var w = wnd.find(1, "*", "MainWnd").Activate();
var e = w.Elm["BUTTON", "Messeges"].Find(1);
string n = e.Value;

if (!n.NE())
{

    print.it(n);
}


1.s();

goto L1;


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)