Hi again, everyone. I'm having an issue with SaveAs and the bPromptToOverwrite parameter. The pastebin link to my code will be below. For some reason, it just won't prompt me to overwrite if the file already exists. I am calling the folder level script linked below through a mouse up event on a form button, if that makes any difference.
I believe I have the line of code right seeing as the save event still happens without errors, but the dang prompt just won't show up. Any ideas?
Pretty sure Boolean are all small letters - true as opposed to True.
I was hoping it was that simple, but no dice. I changed it to lower case but still no prompt.
Your previous code would have resulted in the following error message:
ReferenceError: True is not defined
I've got it enabled but it just didn't popup. I've changed the value now too, so that's resolved, though I still don't get the saveAs prompt.
Please share your actual file with us.
The code is linked in the OP, but do you want me to upload the actual .js file somewhere? What site would be best?
No, the PDF file.
Did you re-start Acrobat after changing the code?
Oh yeah, I've closed and re-opened dozens of times while toying with the script but still don't get the prompt.