There are two problems with SettingsConverter that I could not fix.
The tool changes some skin settings or AlbumObject settings for the current project. There is a possibility that jAlbum will overwrite these changes with its cached settings. To prevent this, in the instructions I specify that you must open the project immediately before running the tool and close it immediately afterwards.
1) When the tool starts, I want to verify that there are no unsaved project settings. If there are unsaved changes, the tool should terminate. I checked
engine.isDirty()
but this always returns true, even if the project has just been opened. Is there a way to detect if there are any unsaved changes?
2) When the tool finishes, I want to automatically close the project. Is there any way I can do this?