Result window scripting: Allow delete and add files, delete window

Started by ubacher, March 20, 2015, 01:41:23 AM

Previous topic - Next topic

ubacher

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.


Mario

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.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

Thanks. Being able to close a result window lets me achieve the rest (adding deleting).