Jump to content
Sign in to follow this  
andrew.arnott

Detecting a specific flash control

Recommended Posts

andrew.arnott

I'm trying to create a script that does ControlClick on a flash component on a website, however, there are sometimes more than one flash component on the page (banners, etc).

Using chrome (other browsers give similar results), the control id is one of:

[CLASS:NativeWindowClass; INSTANCE:1]

[CLASS:NativeWindowClass; INSTANCE:2]

...

[CLASS:NativeWindowClass; INSTANCE:n]

I'm at a loss as to how to detect which flash component I want to send clicks to during runtime. Any suggestions?

Share this post


Link to post
Share on other sites
Phenom

I'm using ImageSearch() in AutoHotKey to find flash objects and click on them.

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.