Jump to content

photo upload problem


Recommended Posts

_IEImgClick ($ilanIE, "http://www.xxx.com/images/fotoekle_buton.gif", "src", $fotoIndex, 0)

        WinWait ("Karşıya Yüklenecek Dosyayı Seç")
        
        Sleep(2000)
        $hChoose = WinGetHandle ("Karşıya Yüklenecek Dosyayı Seç")
        Sleep(2000)
        ControlSetText ($hChoose, "", "Edit1", $fotoYol)
        Sleep(4000)
        ControlClick ($hChoose, "", "Button1")
        $fotoNo = $fotoNo + 1

i try to upload photo but this code didnt work, it stucks at "WinWait", if i click image manualy during my bot is running, bot can do everything in this code. However it didnt work when i use _IEImgClick instead of a manual click.

How can I solve this problem?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...