I created a stamp you can put on a PDF document.
The stamp ask some questions and save the document in a folder.
Now i got the question 'Adobe needs write acces to save the document in the folder';
In Adobe menu Edit - Preferences - Security (Enhanced) can you disable/enable the option 'Enable Protected Mode'.
When this option = Off then you don't get the message. When the option = On then you get the message.
So I want this option On but not the Write access message.
I've searched and find on the internet that you have to use 'try & catch' but I want the 'write access error'.
I understand you can't disable the 'Protected mode at startup' by code.
But suppress the message ..... I tried a lot of options but without result.
Try & catch notallowederror ........
So hopefully knows the command to suppress the error message.
You're not going to be able to suppress the message. You'll need to write your code in such a way that the file gets written to a safe path.