Jump to content

Recommended Posts

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?

 

Link to post
Share on other sites
  • Moderators

@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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites
  • Moderators

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

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...