Jump to content
Sign in to follow this  
JohnOne

_IE help [Solved]

Recommended Posts

JohnOne

I'm having trouble getting this function working for me.

$oIE = _IE_Example ("basic")
Sleep(1000)
_IEFormImageClick ($oIE, "http://www.autoitscript.com/images/autoit_6_240x100.jpg")
error warning

IE.au3 V2.4-0 Warning from function _IEFormImageClick, $_IEStatus_NoMatch

Same with this

$oIE = _IE_Example ("basic")
Sleep(5000)
_IEFormImageClick ($oIE, "AutoIt Homepage Image","alt")

From IE.au3

"<a href='http://www.autoitscript.com'><img src='http://www.autoitscript.com/images/autoit_6_240x100.jpg' name='AutoItImage' alt='AutoIt Homepage Image'></a>"

Am I using this function incorrectly? Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
StandardUser

Use _IEImgClick instead of _IEFormImageclick in this case, as _IEFormImageclick only clicks an <input type=image>.

Edited by 871

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.