Sign in to follow this  
Followers 0
nagathabar

Getting a Flash Object from a website

2 posts in this topic

Hello all,

I am trying to grab a Flash button from a web page. I am able to gather the name of the button but I don't know which command to use to click on that button.

I have been using:

$obj = _IEAttach ("My Uploads (2) - Windows Internet Explorer", "embedded")
    $button=_IEGetObjByName($obj,"select-button")
    _IEAction($button,"focus")

But, this obviously doesn't work. Any help would be greatly appreciated.

Share this post


Link to post
Share on other sites



Flash objects are not drawn by the browser, and the controls in them are not part of the DOM. There isn't an API there for AutoIt to talk to. You either have to deal with clicking X/Y coordinates and ControlSend() used without a ControlID, or your're out of luck.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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  
Followers 0