Count PDF's in Batch file before another batch file runs

Explorer ,
Dec 11, 2018

Copy link to clipboard

Copied

I have this code to count pdf's in a folder I want to process:

/* Count PDF files */
if ( typeof global.FileCnt == "undefined" ){
global.FileCnt = 0;
//app.alert("your count:  " + global.FileCnt);

}

I would like to have it finish processing than call another Batch file to process.  Currently I have to manually start the other batch file after the count is done for it to work.

Can this be done automatically? 

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

No.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

77

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Count PDF's in Batch file before another batch file runs

Explorer ,
Dec 11, 2018

Copy link to clipboard

Copied

I have this code to count pdf's in a folder I want to process:

/* Count PDF files */
if ( typeof global.FileCnt == "undefined" ){
global.FileCnt = 0;
//app.alert("your count:  " + global.FileCnt);

}

I would like to have it finish processing than call another Batch file to process.  Currently I have to manually start the other batch file after the count is done for it to work.

Can this be done automatically? 

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

No.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

78

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 11, 2018 0
Most Valuable Participant ,
Dec 11, 2018

Copy link to clipboard

Copied

No.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 11, 2018 1