//我想从进程id获取窗口标题
import winex;
for hwnd,title,theadId,processId in winex.each( ) {
if( processId == 你要找的进程ID) {
io.print( "标题", win.getText(hwnd) )
io.print( "标题", title )
}
}
//
//我想从进程id获取窗口标题
import winex;
for hwnd,title,theadId,processId in winex.each( ) {
if( processId == 你要找的进程ID) {
io.print( "标题", win.getText(hwnd) )
io.print( "标题", title )
}
}
//
转载于:https://www.cnblogs.com/yaoyue68/p/10486477.html