tarrelol Posted March 7, 2009 Share Posted March 7, 2009 Hello i fooling around with auto-it on a page with a <form>. All went smooth untill i was going to submit. The button was looking like this (html) <input type="image" value="ok" border="0" name="s1" src="img/se/b/ok1.gif" width="50" height="20" onmousedown="btm1('s1','','img/se/b/ok2.gif',1)" onmouseover="btm1('s1','','img/se/b/ok3.gif',1)" onmouseup="btm0()" onmouseout="btm0()" tabindex="8"></input> i really coulndt figure out how to "click" it with _IE. I searched but didnt find any posts. /pz Link to comment Share on other sites More sharing options...
Authenticity Posted March 7, 2009 Share Posted March 7, 2009 What about this? $oButton = _IEGetObjByName($oIE, 's1') $oButton.Focus() $oButton.Click() _IELoadWait($oIE) Link to comment Share on other sites More sharing options...
tarrelol Posted March 7, 2009 Author Share Posted March 7, 2009 What about this? $oButton = _IEGetObjByName($oIE, 's1') $oButton.Focus() $oButton.Click() _IELoadWait($oIE)thanks! Link to comment Share on other sites More sharing options...
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