0,0,1024,768,"Attachment:\窗口调整.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX-604, intY-2
    Delay 100
    LeftDown 1
    Delay 100
    MoveTo 0, 1
    Delay 100
    LeftUp 1
End If
Delay 1000
Rem a
For 5
FindPic 0,0,1024,768,"Attachment:\分辨赛利亚.bmp",0.9,AX,AY
If AX > 0 And AY > 0 Then
MoveTo AX-180, AY-80
    Delay 500
    LeftClick 1
    End If
Delay 500
FindPic 0,0,1024,768,"Attachment:\物品店.bmp",0.7,BX,BY
If BX > 0 And BY > 0 Then
MoveTo BX, BY
    Delay 500
    LeftClick 1
End If
Delay 500
FindPic 0,0,1024,768,"Attachment:\整理.bmp",0.9,CX,CY
If CX > 0 And CY > 0 Then
MoveTo CX, CY
    Delay 100
        LeftClick 1
End If
Delay 200
For 36
MoveTo CX-306, CY+14
Delay 100
LeftDoubleClick 1
    Next
Delay 200
KeyPress "Esc", 1
Delay 100
KeyDown "S", 1
Delay 5000
KeyUp "S", 1
Delay 100
FindPic 0,0,1024,768,"Attachment:\菜单.bmp",0.9,DX,DY
If DX > 0 And DY > 0 Then
MoveTo DX, DY
    Delay 300
    LeftClick 1
End If
Delay 500
MoveTo DX+30, DY-55
Delay 100
    LeftClick 1
Delay 200
KeyPress "Num 0", 1
Delay 100
KeyPress "Enter", 1
Delay 500
FindPic 0,0,1024,768,"Attachment:\摆放.bmp",0.9,DX,DY
If DX > 0 And DY > 0 Then
MoveTo DX-160, DY+25
    Delay 700
    LeftClick 1
    Delay 500
    MoveTo DX-165, DY-140
    Delay 300
    LeftClick 1
End If
Delay 1000
FindPic 0,0,1024,768,"Attachment:\分解.bmp",0.9,EX,EY
If EX > 0 And EY > 0 Then
MoveTo EX, EY
    Delay 300
    LeftClick 1
End If
Delay 200
        For 32
        FindPic 0,0,1024,768,"Attachment:\1.bmp",0.9,AAX,AAY
If AAX > 0 And AAY > 0 Then
        MoveTo AAX, AAY
            Delay 200
            LeftClick 1
            Delay 200
            KeyPress "Enter", 1
End If
i=0
                While i=0
FindPic 0,0,1024,768,"Attachment:\分解3.bmp",0.7,GX,GY
If GX > 0 And GY > 0 Then
i=1
KeyPress "Enter", 1
End If
Wend
Next
Delay 1000
KeyPress "Esc", 1
Delay 500