universalkey 0 Posted April 14, 2010 please help me to find the right command for this button : HTML CODE <!-- Read button display --> <li id="click-msg-stack-none"> <a href="#top" onclick="$imm.ShowNextMessage();" title='Lire tes nouveaux messages'></a> </li> <li id="click-msg-stack-more"> <a href="#top" onclick="$imm.ShowNextMessage();" title='Lire tes nouveaux messages'></a> </li> I tried the following code but its not working out : $o_Buto = _IEGetObjById($o_Form, "click-msg-stack-more") _IEAction ($o_Buto, "click") Share this post Link to post Share on other sites
big_daddy 20 Posted April 14, 2010 (edited) Try something like this... #include <IE.au3> _IEErrorHandlerRegister() ; Code Missing $o_ListItem = _IEGetObjById($o_Form, "click-msg-stack-more") If @error Then Exit $o_HyperLink = $o_ListItem.firstChild If @error Then Exit _IEAction ($o_HyperLink, "click") Edited April 14, 2010 by big_daddy Share this post Link to post Share on other sites