namstery21 3 Posted February 18, 2017 Report Share Posted February 18, 2017 (edited) 1. I want to add like to my post, but there are many like element with same name, If someone question, many people answer it, and everybody can give like something by clicking smiley.I want to click smiley for me, but there are many other smiley in the same page..How can I click it?and choose other smiley like hate, interesting something.Anybody help? check this page. < you can understand what I mean. 2. how to give heart icon.click this page <= at the bottom of this page, you can see the "heart emoticon". when I click it with mouse, it's ok. But I can't click it with ubotstudio program. if you give me the source code for ubotstudio with ex-browser, I'll give 100 USD right away. First come, first served base. Edited February 18, 2017 by namstery21 Quote Link to post Share on other sites
abbas786 78 Posted February 18, 2017 Report Share Posted February 18, 2017 here is the code for heart emoticon , this page comment("Ubot studio internal") navigate("http://m.blog.naver.com/khjsky14/220920459288","Wait") click(<class="u_likeit_list_btn u_type_img u_none_txt">,"Left Click","No") and for exbrowser comment("Ubot studio exbrowser") plugin command("ExBrowser.dll", "ExBrowser CleanUp Light") plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", $plugin function("ExBrowser.dll", "$ExBrowser Set User Agent", "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36")) plugin command("ExBrowser.dll", "ExBrowser Navigate", "http://m.blog.naver.com/khjsky14/220920459288") plugin command("ExBrowser.dll", "ExBrowser Wait For Dom Ready", 20) plugin command("ExBrowser.dll", "ExBrowser Click", "x://div[@class=\"btn_like\"]/div/a") wait(2) plugin command("ExBrowser.dll", "ExBrowser Confirm Dialog") Hope it helps Quote Link to post Share on other sites
abbas786 78 Posted February 18, 2017 Report Share Posted February 18, 2017 Here is the solution for click post like for this page comment("Ubot studio internal") navigate("http://m.kin.naver.com/mobile/qna/detail.nhn?d1id=11&dirId=111001&docId=260879724&qb=a29yZWE=&enc=utf8§ion=kin&rank=1&search_sort=0&spq=0","Wait") wait for browser event("DOM Ready","") comment("Likes the first simly icon on the page.") click($element offset(<class="u_likeit_button _face off">,0),"Left Click","No") comment("Likes the first icon appears after the click on simily icon") click($element offset(<class="u_likeit_list_button _button off">,0),"Left Click","No") Exbrowser solution comment("Ubot studio exbrowser") plugin command("ExBrowser.dll", "ExBrowser CleanUp Light") plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", $plugin function("ExBrowser.dll", "$ExBrowser Set User Agent", "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36")) plugin command("ExBrowser.dll", "ExBrowser Navigate", "http://m.kin.naver.com/mobile/qna/detail.nhn?d1id=11&dirId=111001&docId=260879724&qb=a29yZWE=&enc=utf8§ion=kin&rank=1&search_sort=0&spq=0") plugin command("ExBrowser.dll", "ExBrowser Wait For Dom Ready", 20) wait(2) plugin command("ExBrowser.dll", "ExBrowser Wait For Element", "x://*[@id=\"answer_5\"]/div[4]/div[1]/a", "Appear", 10) plugin command("ExBrowser.dll", "ExBrowser Scroll To Element", "x://*[@id=\"answer_5\"]/div[4]/div[1]/a") plugin command("ExBrowser.dll", "ExBrowser Move Mouse", "x://*[@id=\"answer_5\"]/div[4]/div[1]/a") plugin command("ExBrowser.dll", "ExBrowser Click", "x://*[@id=\"answer_5\"]/div[4]/div[1]/a") wait(2) plugin command("ExBrowser.dll", "ExBrowser Click", "x://*[@id=\"answer_5\"]/div[4]/div[1]/ul/li[1]/a") wait(2) plugin command("ExBrowser.dll", "ExBrowser Confirm Dialog") Quote Link to post Share on other sites
namstery21 3 Posted February 19, 2017 Author Report Share Posted February 19, 2017 (edited) here is the code for heart emoticon , this page comment("Ubot studio internal") navigate("http://m.blog.naver.com/khjsky14/220920459288","Wait") click(<class="u_likeit_list_btn u_type_img u_none_txt">,"Left Click","No") and for exbrowser comment("Ubot studio exbrowser") plugin command("ExBrowser.dll", "ExBrowser CleanUp Light") plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", $plugin function("ExBrowser.dll", "$ExBrowser Set User Agent", "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36")) plugin command("ExBrowser.dll", "ExBrowser Navigate", "http://m.blog.naver.com/khjsky14/220920459288") plugin command("ExBrowser.dll", "ExBrowser Wait For Dom Ready", 20) plugin command("ExBrowser.dll", "ExBrowser Click", "x://div[@class=\"btn_like\"]/div/a") wait(2) plugin command("ExBrowser.dll", "ExBrowser Confirm Dialog") Hope it helps I tried your code, but it does not work for this case(this page), but the other one works thanks a lot.After you login, you can click it. but when I login and off the javascript to see the source code, it does disappear, so I can't see it and copy it. If you need account for test, I can give one plz send me your email account. and can you let me know the xpath of reply and share button(they are beside the smiley, right side)I can give you additional present for them. Can you check above it again?And let me know your paypal account name for 100 usd as I promised. If you solve this case, I will send right away. Edited February 19, 2017 by namstery21 Quote Link to post Share on other sites
abbas786 78 Posted February 19, 2017 Report Share Posted February 19, 2017 It should not be a big issue, as checked this code before pasting here. PM me or send me via skype the account detail and i will check it again . You can add me on skype, my id is rx2pills ThanksAbbas Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.