Skip to main content
Inspiring
June 11, 2019
Answered

saveAs not prompting if it needs to overwrite

  • June 11, 2019
  • 1 reply
  • 1280 views

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?

[JavaScript] Attempt - Pastebin.com

This topic has been closed for replies.
Correct answer BarlaeDC

Hi,

Pretty sure Boolean are all small letters - true as opposed to True.

Regards

Malcolm

1 reply

BarlaeDC
BarlaeDCCorrect answer
Community Expert
June 11, 2019

Hi,

Pretty sure Boolean are all small letters - true as opposed to True.

Regards

Malcolm

Inspiring
June 12, 2019

I was hoping it was that simple, but no dice. I changed it to lower case but still no prompt.

Bernd Alheit
Community Expert
June 12, 2019

Did you re-start Acrobat after changing the code?