boshi 0 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 Share this post Link to post Share on other sites
boshi 0 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? Share this post Link to post Share on other sites
TheScriptkiddie 0 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 Share this post Link to post Share on other sites
AutoBert 197 Posted March 14, 2011 Have a look at mfg autoBert Share this post Link to post Share on other sites