WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: KeithW on May 17, 2020, 05:54:50 PM

Title: Non-Stopping Status Messages or Window
Post by: KeithW on May 17, 2020, 05:54:50 PM
Greetings,

I am looking to provide the user with the status (stage of completion) BUT something that does not stop the execution of the program or wait for a user intervention (ENTER Key).

I have worked with products that let you put messages on the status bar (bottom of a window) and they both stay there until the window closes  (programs ends  OR  you update the status message) BUT the program keeps chugging along regardless?

That would be one type of updating.....

ANOTHER would be a status window that would be (preferably) a downward scrolling logfile.  What ever you posted to the windows would push the previous contents down to accommodate the current posting.  A nice feature would be to be able to timestamp the posting, however if worst case that could be done at the time of posting with code as opposed to an automatic feature.  Finally, the ability to save that output log to a file for later reference.  Nice to have for unattended options that might need to be reviewed.

Anything like either of these exist today, somebody have that would be willing to share or qualify to go on the feature request list?

Regards,
Keith
Title: Re: Non-Stopping Status Messages or Window
Post by: jmburton2001 on May 18, 2020, 08:05:50 AM
If I'm processing numerous items through a loop structure I use aStatusBar. The great thing about it is that you have three distinct areas that you can constantly update as the script runs through it's loop. Example (https://i.imgur.com/8LrkYpF.png)

I think there are some "Box" examples in the tech database that might work for your application.
Title: Re: Non-Stopping Status Messages or Window
Post by: td on May 18, 2020, 08:08:26 AM
Take a look at the WinBatch Box functions.  Creating real-time use update windows is common usage.  There are examples including one with a non aStatusBar progress bar in the Tech. Database.
Title: Re: Non-Stopping Status Messages or Window
Post by: KeithW on May 18, 2020, 09:40:36 AM
Thanx for the heads up on this Extender Pkg, had not looked or payed with before.

Regards,
Keith