Jump to content

Recommended Posts

BlaBla98

Hello,

is it possible to make that the Sleep time maximum is, when the Script doesnt see a Picture anymore?

example :  Sleep(Random(500, 10000, 1)) 10000 should be the time, if the picture is away.

 

Refers the sleeptime only to the function, where it is coded or to the whole Script?

 

Share this post


Link to post
Share on other sites
JLogan3o13

@BlaBla98 are you waiting until a specific application window is gone? Then use WinExists; see the help file example. If it is a picture in a web page, or something else, more information would be beneficial. The more you provide, the better able we are to assist.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
BlaBla98

Itsa Picture of a webpage

Share this post


Link to post
Share on other sites
JLogan3o13
Posted (edited)

Okay, going to make us pull teeth...

When you say "doesn't see a picture anymore", does this mean the web page has closed, or just the picture?

What browser are you using?

What is the webpage, and what is the picture?

What causes the picture to appear? How long does it normally stay up? Etc. etc. etc.

Help us help you

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

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

×