This content has been marked as final. Show 4 replies
Just prefix the folder name to the file name:
var dir = '/d/pdf_output/'
theFile = new File(dir + companyname+" - "+pdfdescription+".pdf");
Thanks for responding.
By prefixing it in that manner it simply changes the file name to something like:
d/pdf_out/companyname - pdfdescription.pdf
It also doesn't appear to save it to the specified location.
I would like the file name to stay the same as it is, but then save it to the directory (folder).
Any further help you can give would be greatfully recieved.
Thanks very much again!
With a file name like
>/d/pdf_out/companyname - pdfdescription.pdf
Ah I see!
Sorry I was being a bit rubbish with the script (as mentioned, a bit new to this).
That's absolutely brilliant, it now works!
Thanks very much for all your help!