if语句放子程序里面就不能判断了,请问是什么情况?
sText0 = Plugin.Window.GetTextEx(HwndEx0,0)
TracePrint "得到窗口句柄的信息内容为:" & sText0
a = "已达上限"
Sub 干活0
Do
MoveTo 600,410
Delay 200
LeftClick 1
Delay 500
If sText0=a Then
Delay 100
end sub
End If
loop
sText0 = Plugin.Window.GetTextEx(HwndEx0,0)
TracePrint "得到窗口句柄的信息内容为:" & sText0
a = "已达上限"
Sub 干活0
Do
MoveTo 600,410
Delay 200
LeftClick 1
Delay 500
If sText0=a Then
Delay 100
end sub
End If
loop









