Just a side note.

After seeing this J code (a few years ago), I actually implemented it in C# to 
provide a more user-friendly progress bar to my J scripts. The J script process 
itself was procedural so I just cut it up in logical steps (around 16 steps I 
believe) and C# would just call them one by one with the really nice progress 
bar. The cool thing is that I created this in WindowsXP and some of the client 
PC's have updated to Windows 7  and it still works. In Windows 7, the 
application icon on the taskbar starts having the gradient coloring 
corresponding to the status of the progress bar. Also, another thing I noticed 
is that it automatically computes how long the process would take (i.e. 30 
seconds remaining ...) without adding additional code.

Really nice.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf 
Of Don Guinn
Sent: Friday, October 22, 2010 7:32 PM
To: Beta forum
Subject: Re: [Jbeta] fif

For Windows you could use
http://www.jsoftware.com/jwiki/Guides/Windows%20Progress%20Dialog to show a 
progress bar. It also has an option to cancel which can set a flag that can be 
periodically tested in the search.

On Thu, Oct 21, 2010 at 8:55 PM, bill lam <[email protected]> wrote:

> I'm not sure if this is possible because J7 is still single thread if 
> I understand correctly.
>
> Чтв, 21 Окт 2010, Björn Helgason писал(а):
> > Find in files is an excellent search tool in J6 and I use it often.
> >
> > Sometimes I do use it on a lot of files and the search can take a 
> > long
> time.
> >
> > I am interested in if/when fif is considered for change that new 
> > options
> be
> > put in to allow to show progress of search.
> >
> > Extensions like how many files are being searched and how many have 
> > been processed.
> >
> > Possibly show temporary results and an option to stop the search.
> >
>
> --
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to