5 Replies Latest reply on Oct 12, 2015 7:28 AM by DDoughtie

    Can't find valid error for not writing file to desktop

    DDoughtie

      So, I have a simple script that simply exports a PDF to the Desktop. They decided to have a folder on the desktop to hold the PDFs. We want to add new users (thus different computers). We want to generate an error message that says you need to create the folder for the export to work. If the folder doesn't exist you get the message "File Name can't be created on this disk. Use a different name, make more.......  (And we don't want to use a plugin to generate the folder)

       

      I capture the last error (800) and then prompt the user to create the folder.


      But I can't suppress the "File Name can't be created.... " message. I have before the Export PDF step  "Set Error Capture ON" but that's not suppressing it. I read in the Dev Reference that this script step suppresses "most" error messages. I suppose this is one of them. Anyone know of a way to actually suppress it? The error message is very misleading to what the actual problem is.

       

      Dan