Jump to content
Sign in to follow this  
MatheFreak

Don't forget the TimeOut :-)

Recommended Posts

MatheFreak

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"?

Share this post


Link to post
Share on other sites
Andreik

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

Share this post


Link to post
Share on other sites
MatheFreak

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)

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.