fbar

something not right with ie any help good friends

8 posts in this topic

#1 ·  Posted (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 by Melba23
Code removed

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by fbar

Share this post


Link to post
Share on other sites

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.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

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)

userbar.png

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

could i convert this bit of code to work please any help

 

<snip>

Edited by Melba23
Code removed

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

This works for me:

<snip>

Edited by Melba23
Code removed
1 person likes this

Share this post


Link to post
Share on other sites

you are awesome

thank you

Share this post


Link to post
Share on other sites

fbar & mpower,

We do not support automating "Like" buttons - too great a chance of abuse. Code removed and thread locked. :naughty:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.