Jump to content

Don't forget the TimeOut :-)


MatheFreak
 Share

Recommended Posts

I have to do some filehandling which normally lasts 1 second, but sometimes (network access) up to 15 sec.

Now I can handle this comfortably using with WinWaitActive and timeout=30 sec,

but users get confused if "nothing" happens, and start clicking arround.

How could I visualise "System is working for you, connecting network"?

Link to comment
Share on other sites

I have to do some filehandling which normally lasts 1 second, but sometimes (network access) up to 15 sec.

Now I can handle this comfortably using with WinWaitActive and timeout=30 sec,

but users get confused if "nothing" happens, and start clicking arround.

How could I visualise "System is working for you, connecting network"?

Use ToolTip,TrayTip,SplashTextOn. Read in help file more.

When the words fail... music speaks.

Link to comment
Share on other sites

Use ToolTip,TrayTip,SplashTextOn. Read in help file more.

Thanks for helping.

But TrayTip and SplashTextOn do not exist on AutoItX3. (Do they?)

And ToolTip produces a "funny" effect:

Tooltip workes fine with Excel, ...

but in my 3er-party-application the "open" dialog looses focus, and I have no chance to refocus it.

Without ToolTip my script workes fine, but WITH ToolTip the WinWaitActive simply hangs.

AI.ToolTip "Waiting for "&OpenDialog
  AI.WinActivate OpenDialog,""
  AI.WinWaitActive(OpenDialog,"",10)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...