BringWindowToTop对office无效
#Include <WinAPIEx.au3>$TITLE = "ppt"
$var= WinList()
For $i = 1 to $var
IF StringInStr($var[$i], $TITLE) Then
$Office = $var[$i]
ConsoleWrite("yes")
_WinAPI_BringWindowToTop($Office)
Exit
EndIf
Next不能让office置顶,什么原因呢? 将$Office与直实窗口的句柄对比一下就知道了 回复 2# ceoguang
不太明白…句柄有问题吗?
页:
[1]