阅读背景:

捕获活动窗口中的更改(适用于Linux)

来源:互联网 

Is there a way to know when a (linux x windows) user changes the active window through alt-tab or click. I want to write a script that listens for this event (if such an event occurs, the script then goes on to find the current active window - which I know how to solve). I could also keep polling to find the current active window but that's a bad way to write this. Hoping to get a solution that can "listen" rather than "poll".Is there a way to know when a (linux x windows)




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: