[ Last edited by ilovejolly on 2005-7-29 at 14:46 ]作者: jinke 时间: 2005-7-29 14:54
谢谢大家啊作者: jinke 时间: 2005-7-29 15:07
我改成这样了,你看看可以运行么?
Dim i As Integer
for i=1 to 3 step 1
dim j
j=209+i*100
Window SetContext, "Caption=PhotoBase", ""
GenericObject DblClick, "Class=AfxFrameOrView;ClassIndex=1", "Coords="+j+",54"
Window SetContext, "Caption=PhotoBase4 图像浏览器/编辑器", ""
GenericObject Click, "Class=Afx:;ClassIndex=2", "Coords=997,21"
next
successful
试了半天试出来了,"Coords="+str(i)+",66"
是字符串连接来的,SQA好弱
also successful