boshi Posted March 4, 2011 Share Posted March 4, 2011 hello I had no idea how to do this. I am using this code to Like status on facebook. The code only able to like one status which is the first one and then exit. How can I loop until all status being like? $oForm = _IEGetObjByName ($ie, "like") _IEAction ( $oForm, "click" ) Any idea? Do $oForm = _IEGetObjByName ($ie, "like") _IEAction ($oForm, "click") Until ;i am thinking about until what eh? LOL Link to comment Share on other sites More sharing options...
boshi Posted March 7, 2011 Author Share Posted March 7, 2011 maybe i need to count how many like in the page and then the Do will loop until reach the count..any idea how to detect how mane like are there? Link to comment Share on other sites More sharing options...
TheScriptkiddie Posted March 14, 2011 Share Posted March 14, 2011 helloI had no idea how to do this. I am using this code to Like status on facebook.The code only able to like one status which is the first one and then exit.How can I loop until all status being like?$oForm = _IEGetObjByName ($ie, "like") _IEAction ( $oForm, "click" )Any idea?Do $oForm = _IEGetObjByName ($ie, "like") _IEAction ($oForm, "click") Until ;i am thinking about until what eh? LOLI think this would work:For $oForm = 1 to 100 $oForm = _IEGetObjByName($ie, "like") _IEAction($oForm, "click") Next Link to comment Share on other sites More sharing options...
AutoBert Posted March 14, 2011 Share Posted March 14, 2011 Have a look at mfg autoBert Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now