Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Help with comment script

$
0
0

I am trying to create a script that has the ability to visit a YouTube video and post a comment on my behalf. I am able to get the script to write text in the comment box, but I can not get the script to click the post button. 

 

This is what I have so far. 

 

_IENavigate($mIE, "http://www.youtube.com/watch?v=BNb62NBYvGU") _IELoadWait($mIE) $oForm = _IEGetObjByName($mIE,"comment") _IEAction($oForm, "focus") _IEFormSubmit($oForm) $oSubmit = _IEGetObjByName($mIE,"add_comment") _IEFormElementSetValue($oForm,"Thanks") _IEAction($oSubmit,"click")
 

Thank you for your time. 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>