dinasset wrote:
GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: Basic Level
Hi
assuming a script has created a new pattern (file-pat-save), which is the correct way (if there is any) to delete it at the end?
I didn't find a file-pat-delete nor a gimp-pattern-delete and the gimp-item-delete seems not to accept a pattern name as item
thanks
If you do a file-pat-save, then you supply a complete file name, so getting rid of the pattern file later is just a matter of using that same file name with some 'erase'/'unlink' function, if script-fu has such (otherwise, as always, you can upgrade to a real programming language that will have one).