Copy link to clipboard
Copied
Good evening, I am trying to create a way to export, and import PDF's data with java script.
Here is what I have so far in terms of code:
this.extractPages({
nStart: this.numPages-1,
cPath: 'C:\Users\dell\Documents\Adobe REC complete' + this.documentFileName
});
this.closeDoc(false);
It will delete the pages but not export the data to the specified folder.
The java script runs after deleting all-but-one page, so perhaps my 'this.numpages' is wrong
The way you specified the file-path is incorrect. You need to use the following format:
cPath: '/C/Users/dell/Documents/Adobe REC complete' + this.documentFileName
Copy link to clipboard
Copied
The way you specified the file-path is incorrect. You need to use the following format:
cPath: '/C/Users/dell/Documents/Adobe REC complete' + this.documentFileName
Copy link to clipboard
Copied
I went and changed the file-path to the correct version, it now prompts for me to save it before closing the file down.
It seems that "this.extractpages" is not what I need to export the form data, which makes much more sense. I believe I have the wrong line of code
Copy link to clipboard
Copied
If that folder is called "Adobe REC complete" then you need to add another forward-slash at the end of it...
Copy link to clipboard
Copied
Your suggestion worked, and the file is now in the folder it's directed to be in.
Thank you