|
我在做测试的时候录制到如下代码:
Window SetContext, "Caption=C/C++", ""
TreeView Click, "ObjectIndex=1;\;ItemText=project0", "Location=Button"
Window SetContext, "Caption=C/C++ ", ""
TreeView Click, "ObjectIndex=1;\;ItemText=project1", "Location=Button"
Window SetContext, "Caption=C/C++", ""
TreeView Click, "ObjectIndex=1;\;ItemText=project2", "Location=Button"
Window SetContext, "Caption=C/C++", ""
TreeView Click, "ObjectIndex=1;\;ItemText=project3", "Location=Button"
它的功能是:删除4个工程:project0,project1,project2,project3,
请问高手如何用循环的方法删除4个工程,因为我在录制的时候要删除上百个工程,挨个录制,脚本太长了。
请高手指点。 |
|