Capcuzzz Posted February 10, 2010 Posted February 10, 2010 Hi, I need to click on the "share" button that fac*book has to update our status. I've tried autoit window info with no luck finding neither id or text of the button. I just want to post things to my fac*book account status update and the problem I am facing is how to click that share button? Any clue please??? Thanks
mistersquirrle Posted February 10, 2010 Posted February 10, 2010 You would have to use the IE.au3 UDF probably to find the ID and text of the button to click something like this: $oInputs = _IETagNameGetCollection($oIE, "input") For $oInput In $oInputs If $oInput.value == "Share" Then _IEAction($oInput, "click") ExitLoop EndIf Next I'm not sure if that's the right setup for what you want, you'd need someone who's better with the IE UDF. But that's the basic shell of what you want We ought not to misbehave, but we should look as though we could.
Capcuzzz Posted February 10, 2010 Author Posted February 10, 2010 You are the man! It works, thanks !!!
mistersquirrle Posted February 10, 2010 Posted February 10, 2010 Haha, that worked? Awesome I took that from a old script I had, and just modified it a bit. Glad to be of assistance. We ought not to misbehave, but we should look as though we could.
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