Author Topic: Add option to insert_file_list() to display status and cancel button  (Read 1885 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
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.

Graeme

  • Senior Community Member
  • Posts: 2796
  • Hero Points: 347
Re: Add option to insert_file_list() to display status and cancel button
« Reply #1 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.