Scripting function "write back all pending metadata"

Started by Carlo Didier, October 13, 2014, 09:36:13 AM

Previous topic - Next topic

Carlo Didier

The equivalent of Commands/Metadata Write-back/For all pending files in a script command.
Currently, you only have the writeback() method for single files.
It would be nice to be able to trigger writeback for all files with pending metadata with a single command instead of having to select all those files and then loop through them all.

Mario

The problem would be to provide feedback to the user, and some way to abort the process in a scripting-compatible manner.

I think if a script needs such functionality, it can always loop over all files in the database, determine the files which are pending and write back these files. This can be done in only a few lines of code, and the script can use the progress dialog and other scripting features to stay in control.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook