[autoit] Help w/ IE buttons

10/12/2013 06:58 Kaspar Nagarian#1
I'm trying to get the "Vote" button written into a macro.

[Only registered and activated users can see links. Click Here To Register...]

I've absolutely no idea where to go with this and I've looked all over the interwebs for a few hours now trying to find something that makes sense. All i want is to hit that button without it being a set location on the screen. (so not using mouse functions.)
10/12/2013 08:33 CallSaul#2
In Case you are a beginner, i would recommend to have a Look on the ie.au3 UDF.

By the Way... The Vote Button maybe dont have a real ID or Name.
It might be just an Form-Submitt Button.
10/12/2013 14:58 alpines#3
How about getting the Object via its ID:
Code:
$oSubmit = _IEGetObjById($oIE, "pd-vote-button7459697")
_IEAction($oSubmit, "click")
Does that work? Of course you have to create an IE Object first but I guess you know that.
10/12/2013 15:39 Kaspar Nagarian#4
Bingo Alpines, you are a genius!
10/12/2013 15:59 alpines#5
Thank you :D