Hi, Sean.

The only way too currently do it with Window-Eyes would be to poll for the 
specific process you're interested in. Otherwise, as you suggested, WMI is your 
best bet if you want to do it through scripting. In fact, WMI is probably the 
best way even if you're not using scripting.

https://msdn.microsoft.com/library/windows/desktop/aa394374%28v=vs.85%29.aspx

Thanks,

Aaron

-- 
Aaron Smith 
Web Development * App Development * Product Support Specialist
Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * www.aisquared.com

To insure that you receive proper support, please include all past 
correspondence (where applicable), and any relevant information pertinent to 
your situation when submitting a problem report to the Ai Squared Technical 
Support Team.

> -----Original Message-----
> From: Scripting [mailto:scripting-
> bounces+asmith=aisquared....@lists.window-eyes.com] On Behalf Of
> Sean Farrow via Scripting
> Sent: Wednesday, March 30, 2016 4:48 AM
> To: scripting@lists.window-eyes.com
> Subject: Detecting process creation/shutdown
> Importance: High
> 
> Hi,
> 
> Is there a way with Window-Eyes scripting to detect the creation/shutting
> down of processes.
> I could use WMI, but don't want to re-invent the wheel, if it already exists.
> Note that a window is not displayed when the process I'm looking for is
> created, so I can't use this mechanism.
> Any help appreciated.
> Kind regards
> Sean.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.window-eyes.com/private.cgi/scripting-window-
> eyes.com/attachments/20160330/cbde5ee2/attachment.htm>
> _______________________________________________
> Any views or opinions presented in this email are solely those of the author
> and do not necessarily represent those of Ai Squared.
> 
> For membership options, visit http://lists.window-
> eyes.com/options.cgi/scripting-window-
> eyes.com/asmith%40aisquared.com.
> For subscription options, visit http://lists.window-
> eyes.com/listinfo.cgi/scripting-window-eyes.com
> List archives can be found at http://lists.window-
> eyes.com/private.cgi/scripting-window-eyes.com


_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to