photools.com Community

IMatch Bug Reports and Feature Requests => Feature Requests => Archive (Feature Requests) => Topic started by: ubacher on March 20, 2015, 01:41:23 AM

Title: Result window scripting: Allow delete and add files, delete window
Post by: ubacher on March 20, 2015, 01:41:23 AM
Result window:
One should be able to remove (close) a result window from within a script.

One should be able to add or remove files from a result window.

Title: Re: Result window scripting: Allow delete and add files, delete window
Post by: Mario on March 23, 2015, 10:03:31 AM
Added a CloseResultWindow method to the Database class. 5.4.16.

You cannot update an existing result window with new files. I suggest you manage the files you want to put in the result window in your script using a Files collection and then update the result window when you have all files available. If you later need to change the contents of an existing result window, close the old window and create a new one with a new query result or set of files.
Title: Re: Result window scripting: Allow delete and add files, delete window
Post by: ubacher on March 24, 2015, 01:30:53 AM
Thanks. Being able to close a result window lets me achieve the rest (adding deleting).