when loading file, pspad sends real file location and temporary file location
what awaits be created by plugin

when saving file, pspad sends temporary file location and target file and awaits
that plugin opens temporary file, do it's job and saves file into target file

let's imagine I have file: c:   empile.xxx

when loading, pspad calls plugin with: "c:      empile.xxx" and
"c:     empç213932.xxx"
plugin should open "c:  empile.xxx" decode or anything and save it as
"c:     empç213932.xxx" and PSpad opens "c:     empç213932.xxx" and deletes temp

It's similar when saving. PSPad saves file as temp, plugin opens it, saves file
as target and when finishes, PSPad deletes temp file.

PSPad freeware editor https://www.pspad.com

Odpovedet emailem