fbar Posted March 8, 2015 Share Posted March 8, 2015 (edited) Please kind Sir Mandam my mentor im trying to click on a button its not a link for that im sure <button value="1" class="_42ft _4jy0 PageLikeButton _4jy4 _517h _9c6" data-profileid="771956952882393" data-ownerid="u_0_2x" id="u_0_2y" type="submit"><i class="_3-8_ img sp_R2vJ7507u19 sx_d0839b"></i>Like</button> ive not just jumped in for help but i carnt seem to sus this out i keep going aroung in circuls how to i simply click the like button do i have to treat this button like a form and submit ive got 3 examples am trying and none seem to work can a master mentor please tell me what im doing wrong <snip> thank you Edited March 31, 2015 by Melba23 Code removed Link to comment Share on other sites More sharing options...
fbar Posted March 8, 2015 Author Share Posted March 8, 2015 (edited) is this the answer to my question #include <IE.au3> $oIE = _IEAttach("SAP BusinessObjects") $oIE.document.parentWindow.execScript('var hplus = getHeaderPlusFrame();if (LIke) {hplus.onBtnListingClick();}',"javascript") Edited March 8, 2015 by fbar Link to comment Share on other sites More sharing options...
TheSaint Posted March 9, 2015 Share Posted March 9, 2015 Welcome to the forum. This is not the right location to ask for AutoIt related coding help, it should in this instance, be in General Help & Support. I've reported it to be relocated. P.S. This section is for the development side of AutoIt, not developing your own scripts. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
fbar Posted March 9, 2015 Author Share Posted March 9, 2015 (edited) could i convert this bit of code to work please any help <snip> Edited March 31, 2015 by Melba23 Code removed Link to comment Share on other sites More sharing options...
fbar Posted March 10, 2015 Author Share Posted March 10, 2015 hello kind sir madams can any one help me with this what i belive is is probly a simple fix dont give me source code if you feel you dont want to but please can some one explain to me whats going on thanks rlen.co.uk Link to comment Share on other sites More sharing options...
mpower Posted March 10, 2015 Share Posted March 10, 2015 (edited) This works for me:<snip> Edited March 31, 2015 by Melba23 Code removed fbar 1 Link to comment Share on other sites More sharing options...
fbar Posted March 31, 2015 Author Share Posted March 31, 2015 you are awesome thank you Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 31, 2015 Moderators Share Posted March 31, 2015 fbar & mpower,We do not support automating "Like" buttons - too great a chance of abuse. Code removed and thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts