Set MyDescription = Nothing
Set Calc= Nothing
但上述代码老是调试不通过,提示问题为:Cannot identify the object "WinButton" (of class WinButton). Verify that this object's properties match an object currently displayed in your application.
知道的请解答一下,谢谢!作者: 风过无息 时间: 2007-7-7 13:38
Calc("regexpwndtitle")=”计算器”
Calc("regexpwndclass")= "SciCalc"
应该是
Calc("regexpwndtitle").value="=”计算器”
Calc("regexpwndclass").value="= "SciCalc"作者: winfood 时间: 2007-7-7 13:51
除了2楼指出的错误以外,发现一个奇怪的地方。这段脚本并不是在Click每个计算器按钮都出现LZ遇到的错误提示Cannot identify the object "WinButton",只有加号按钮才出现错误。