Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
windows find text err
#1
Hello ! Big Grin
QM Great program but I'm not Programming
find text on download program
i think IFsearch for A text not -> search for B text not -> search for C text not -> search for A,B,C Not etc ..
but object not found err
Is there any problem?


Code:
Copy      Help
int Download=wait(5 WV win("Downloads" "DownloadDialog"))
int flist=id(101 Download)
int White = 0xFFFFFF

RECT r; SetRect &r 99 19 172 140
WindowText ftext.Init(flist r)
str pic = "Picture File"
str bit = "Bitmap File"
str thu = "db File"

Acc SDList.Find(Download"PUSHBUTTON" "" "class=Button[]id=1025" 0x1004 5)
Acc ADList.Find(Download"PUSHBUTTON" "" "class=Button[]id=1018" 0x1004 5)
Acc DStart.Find(Download"PUSHBUTTON" "" "class=Button[]id=1012" 0x1004 2)

if (Downloads) and (pic)
    ftext.Mouse(1 ftext.Find(pic) -100 3)
    ADList.Mouse(1)
    SDList.Mouse(1)
else if (Downloads) and (bit)
    ftext.Mouse(1 ftext.Find(bit) -100 3)
    ADList.Mouse(1)
    SDList.Mouse(1)
else if (Downloads) and (thu)
    ftext.Mouse(1 ftext.Find(thu) -100 3)
    ADList.Mouse(1)
    SDList.Mouse(1)
else if(!(Downloads) and (pic) or (bit) or (thu))
    wait 2
        ADList.Mouse(1)
            out "Video File"
                wait 1
                    wait 60 S "color:0xEDB208" id(1001 filekuki) 0 16
                        dou 9 25 id(101 filekuki) 1
                            wait 1
                                CloseWindowsOf("Download (Ghost)" "Ghost")
                                err+ ;;
                                PostMessage (Download ) WM_CLOSE 0 0


Forum Jump:


Users browsing this thread: 1 Guest(s)