Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to exit LA using LA commands?
#1
just for giggles Wink:Surely there is a way to exit the LA process linked to the tray menu with a LA macro - but what is the simplest way to do it?  (Did I miss an existing built-in command for that purpose?)
#2
Code:
Copy      Help
ExitLA();

static void ExitLA() {
    var w = wnd.findFast(cn: "Au.Editor.TrayNotify");
    if (!w.Is0) {
        w.Close(noWait: true);
        w.WaitForClosed(-2, waitUntilProcessEnds: true);
    }
}
#3
Wow, much better than my silly ideas - thank you!


Forum Jump:


Users browsing this thread: 1 Guest(s)