nagathabar Posted February 24, 2011 Share Posted February 24, 2011 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. Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 24, 2011 Share Posted February 24, 2011 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 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