Sign in to follow this  
Followers 0
lovelace2101

I can't click button. Help me

4 posts in this topic

My script :

 

 

$oIE = ObjCreate("InternetExplorer.Application")

$oIE.visible = True

$oIE.Navigate("http://imiss.hoakhoi.vn/picture/-le-thi-kieu-oanh.aspx#.U761BPmSwSw")

Sleep(5000)

$oIE.document.getElementById("ctl00_ctl00_Content_Content_txtEmail").value= "name@gmail.com"

$oIE.document.getElementByName("ctl00$ctl00$Content$Content$btnSubmit").click ;

 

 

But this cript don't auto click button. :(

Can you help me edit ?

Thanks,

Share this post


Link to post
Share on other sites



lovelace2101 that looks like the Vote by Email button. Is this correct?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

no , i'm learnning autoit script. 

$oSubmit = _IEGetObjByName ($oIE, "ctl00$ctl00$Content$Content$btnSubmit")
    $oIE = _IEAction ($oSubmit, "click")

It's work fine.

Share this post


Link to post
Share on other sites

@lovelace2101,

It should be clear to you that you should read our forum rules and only post questions that are allowed.

Next thread creation or post on this topic will result in a ban.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0