SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Features and/or Improvements => Topic started by: rowbearto on December 18, 2017, 07:03:54 PM

Title: Add option to insert_file_list() to display status and cancel button
Post by: rowbearto on December 18, 2017, 07:03:54 PM
I have a macro that uses "insert_file_list()" and it can take a very long time scanning 10000s of files on a networked path. While the scan is going on, SE is frozen with no status displayed to the user.

It would be nice if there was an option added to insert_file_list() to tell it to display a status box showing how many files it found so far and a periodic update of the name of the file it just scanned. Additionally a "cancel" button could be useful, and insert_file_list() could return to the caller whether or not "cancel" was pressed.
Title: Re: Add option to insert_file_list() to display status and cancel button
Post by: Graeme on December 20, 2017, 09:18:34 PM
You might be able to write your own version of insert-file-list using the file_match function, or you could run the search in a separate instance of slickedit, or maybe even use a third party tool that pre-builds an index.