userlong 发表于 2009-12-25 16:09:58

如何判断控件存在

如何在一个窗口判断 "button1" 是否存在是否 可用?????高手帮帮忙

afan 发表于 2009-12-25 16:17:00

If ControlCommand("窗口标题", "窗口文本", "button1", "IsEnabled", "") Then MsgBox(0, 0, '可用')

gapkiller 发表于 2009-12-25 19:15:04


afan 发表于 2009-12-25 16:17 http://www.autoitx.com/images/common/back.gif


    金钱+30, 贡献+10
页: [1]
查看完整版本: 如何判断控件存在