Originally Posted by Iņigo
I meant xournal could run an external python script...
Oh, I see. My idea was to somehow call the script from the main DR UI to skip Xournal altogether. Not that I think it's useless, but all I do with it is 'import annotations -> export to PDF', and a simple UI addition + script as I described would be far more practical for that.