I am stuck and hoping someone can help. I am trying to write a script that will only run if my InDesign document is only run from within a specific folder. The through is the user can only open and run a PDF export of a InDesign document if it is within a Final:Ready for Production folder. If it is not, the script will return a error dialog.
So, it has to be a specific location that could be buried in a few sub-folders.
Any help is greatly appreciated.