【已解决】winactivate无法拉起程序窗口
本帖最后由 HHHH 于 2023-11-9 18:45 编辑WinActivate("WndClass")
请教各位 winactivate无法拉起程序窗口,这个窗口不行,其他窗口可以的,请教下这个是什么原因造成的 谢谢
#include <Array.au3>
Local $aWinList = WinList("WndClass")
_ArrayDisplay($aWinList)
看看是否仅有一个窗口。如果有多个则需判断哪个才是目标。 afan 发表于 2023-11-6 19:13
#include
Local $aWinList = WinList("WndClass")
_ArrayDisplay($aWinList)
感谢,读出来的确有多个,但从底部任务栏看只有一个窗口。
我可以全部拉起吗?或者我应如何改一下我拉起的窗口是正确的
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVUAAADwCAYAAACwqvfHAAAgAElEQVR4Ae19W4wlyZlW2AjBI9KyM32p6u6qrjp1v3Vduvv0dLe92GaF2bHRCpC1AoSwaxEvSCCElpuRtZa9gvGW7QHjRYtWSCsBEg9Yo/aj35F54mnUeOUX32/j+3Um0B+ZERkRGRkZec6ft3O+krIyMy5//PH93/9nRGaeSLG99065s39P7u3uy/29A7VNdo7k9taO3Jpsq/1kc0vtd7Z3zblOozJ0rPd2PTrWeVoWpZEc2nQaHVP7R4fHKn13Z08dUxpt905O5eHBkdLt+OhE7h6cGl0p/2D/0KRRX7Z2j9VGcrb3TtRG6XRMe9XfozO5f3wudw9Pnf1enk55+pj2+ljXoXqUpveH9+4rHehcb7qerntwcqHq0Dkd++X8c9XWgdsOldG66fZ3Du45uuh82uvN1sVvh861PgfHF5I2kqnaOjpXeZRGuO8dnqlt/+hc0maf62Mqa+efHN9Tdcl2dEz2PD+7kKf3zuTZ6bk6pzR9Tmm06fOHD6bywf2Hanvp0WP5aPqSOqb0J4+fyunDR2q7f/FAyaK6xCXdji3Lrks8IS7ofmmO6H7QnvJID+oP6Ux9uDi/r/SjNI2XPqY6lHZ4kvPh4FTJIDm6HV2Gyuk2KM/mKp0rnh6eKVl0TG3QXutJfqrr0TFtuk+a67TX6ZSnj3V5e0+ydBm73MbWgUqnvhOmt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fh+roPOwRPIfGAfHijWOJB1UgpiamH8D8c13O3qeU0eX9snXnVM8vo2VhD94OkQO4p4qRau1ItY64TYKeX7bunNr2y9Tpg3wE2z45YH5R1acSaHs4TuAHMDq3t5Ct/DqhMjotVrYqrypdy8R+OPyBLd6Q5muqAAPEJA74AazuPFQnxiVfni5bld5UvpaHPfjcFwfEjdVTtUh1Xwqg3WGRPxbcyFah/FBalV1DZUNpdv26fLssjofFp2W0h3jh+pH6RPUydh59LjugH8DqzglDv0wMV7+sfx6qm1ImVA9pZfsCk/YxUUF1fXPPeVgB4NsHfqgYhwIYpektpHeoTqgcpflltVx779f16/j5OF9evg7R9uLXXtjH9B9vAJiLaiy4+QRuUlbXbVKnSVktH3sE2L45oILq2saucaq+FUL7cApwABwYMwfEr187xEgVI1VcVMEBcICJAxipMgE55isrdMfIEBzg44D4S7+2g5EqAitGKeAAOMDEgf8Pdz9wXA3fP9AAAAAASUVORK5CYII=
HHHH 发表于 2023-11-6 19:20
感谢,读出来的确有多个,但从底部任务栏看只有一个窗口。
我可以全部拉起吗?或者我应如何改一下我拉起 ...
多个最好直接找主窗口,找其特征,比如是否有窗口文本,或比对窗口坐标及大小。 afan 发表于 2023-11-6 19:28
多个最好直接找主窗口,找其特征,比如是否有窗口文本,或比对窗口坐标及大小。
请教主窗口还可以如何处理一下。从任务栏看只有一个窗口界面,是一个大窗口来的,里面没有按钮和文本框。是一个全屏窗口 枚举找需要的,大多都有唯一特性
#include <Array.au3>
Local $aWinList = WinList("WndClass")
_ArrayDisplay($aWinList)
Local $sInfo = '', $aPos
For $i = 0 To $aWinList
If $aWinList[$i] <> "" And BitAND(WinGetState($aWinList[$i]), 2) Then
$aPos = WinGetPos($aWinList[$i])
$sInfo &= '窗口句柄=' & $aWinList[$i] & _
'; 文本=' & WinGetText($aWinList[$i]) & _
'; 坐标大小=' & StringFormat('%s, %s, %s x %s', $aPos, $aPos, $aPos, $aPos) & _
@CRLF
EndIf
Next
ConsoleWrite($sInfo & @CRLF) afan 发表于 2023-11-6 20:11
枚举找需要的,大多都有唯一特性
感谢。新手我用了最笨的方法
For $i = 1 To $windows
;WinActivate($windows[$i]) ; 逐个激
WinSetState($windows[$i], "", @SW_MAXIMIZE)
Next
全部拉起 目前能达到所需。我再学习一下找特性优化一下
有一个很奇怪的点,WinActivate不能把我需要的这个程序的窗口放到最前,看任务栏是有激活的。
页:
[1]