Jump to content

Recommended Posts

Posted

is it possible to click a button on a web page by the SRC? not exactly sure on this still kinda new but the SRC on this button is a link or so it shows thanks for the help

could it be:

_IELinkClickByIndex or _IELinkClickByText

please help thanks

Posted

Is it a button or a link or something else? You'll need to identify the HTML source.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Posted

it is a button and when using the debug bar it shows SRC = "http://www.meccacaraudio.org/images/newf.jpg"

it does show the button name but it changes everytime you open up that page

ah you know what i think i may have found it........

_IEImgClick ?

would go

#include <IE.au3>

$oIE = _IE_Example ("basic")

_IEImgClick ($oIE, "http://www.meccacaraudio.org/images/newf.jpg")

something like that and if that is right i have another question so i don't have to make a new post

clicking a button by it's value? i am still very new to this sorry =/

Posted

ok i tried it and it didn't work =,( any other ways of making this work i would go by Name but it changes every time you go to the site

  • Moderators
Posted

it is a button and when using the debug bar it shows SRC = "http://www.meccacaraudio.org/images/newf.jpg"

it does show the button name but it changes everytime you open up that page

ah you know what i think i may have found it........

_IEImgClick ?

would go

#include <IE.au3>

$oIE = _IE_Example ("basic")

_IEImgClick ($oIE, "http://www.meccacaraudio.org/images/newf.jpg")

something like that and if that is right i have another question so i don't have to make a new post

clicking a button by it's value? i am still very new to this sorry =/

Err... what is that? You're using the example to try and click the image?

I'd check first if click by link worked first.

Might look at _IETagNameGetCollection + maybe _IEPropertyGet and then maybe _IEAction

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
×
×
  • Create New...