The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automated process manipulation; close tray app
#1
Hello, I need to restart an application running at background in regular intervals (or at predefined times of the day), but the application's window is usually not visible. It can only be exited from rightclick menu of status bar icon (always present while running). Which QM command can locate the process and simulate the taskbar context menu action? I would like to avoid simulating the quit by mouse emulation and rather use a WM or QM command to signal the app to close completely (not hide the main window).

Secondly, how to wait till the process finishes it's shutdown so that I can relaunch it?

Thank you for the solution


Messages In This Thread
Automated process manipulation; close tray app - by Ethereal - 06-17-2018, 05:47 AM
RE: Automated process manipulation - by TheVig - 06-17-2018, 02:25 PM
RE: Automated process manipulation - by Ethereal - 06-17-2018, 03:22 PM
RE: Automated process manipulation - by Gintaras - 06-18-2018, 05:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)