Save copy from automation plugin fails
Hi!
I'm trying to save a copy of the current image from an automation plugin. The Listener plugin generates code for this nicely. There is one problem with - it doesn't work! I found the first bug quickly - there was a backslash in the path (and you would need to put \\ in C, otherwise it takes it as an escape character)! I corrected that, but it still fails. The Play call fails and returns with error code -43 (file not found).
Note that I'm on Windows XP and administrator on my machine, so it's also not a file access rights problem.
Then I thought, let's just create a file with that name there and see what happens. Well, the Play call deletes the file, then fails with same code!
I also tried specifying just the diretory, doesn't work either.
What works is changing the last parameter to pluginDialogDisplay. But I wouldn't like a dialog to pop up, so that's not an option. (neither one of pluginDialogSilent and pluginDialogDontDisplay works)
Does anyone have any suggestions?
Thanks in advance,
Kornel