Jump to content
Sign in to follow this  
arryo

Click "ok" on a new, not visible window

Recommended Posts

arryo

Hi,

My new Script automatically Subscribes an User on Youtube. It runs with a hidden window. But there is a problem...

What can I do when THIS happens?

--> http://img7.imageshack.us/img7/8408/ahhz.jpg

NOTE: It will NOT be the active window when it comes up.

(the main window behind it is here visible)

Edited by arryo

Share this post


Link to post
Share on other sites
Mison

Run Au3Info.exe and see if there is any information about the window.


Hi ;)

Share this post


Link to post
Share on other sites
arryo

Run Au3Info.exe and see if there is any information about the window.

And what then? Try to activate that window all 5 seconds and then close it?

Share this post


Link to post
Share on other sites
ctyankeeinok

If you use the window info tool, you can obtain the window title and the visible text fo the control. Activate the window and do a control Send. Since it is a message box, you won't need a control ID

WinActivate("Windows Internet Explorer","OK")
ControlClick("Windows Internet Explorer","OK","","Primary")

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.