Skip to main content
Participating Frequently
February 14, 2019
Answered

Hello everyone, I am using Acrobat X. this.movePave(3,5) comment moving 4th page to 6th position. this.movePage(5,3) is not moving 6th page to 4th position. Please some one explain how to use this.movePage().

  • February 14, 2019
  • 3 replies
  • 1746 views

Hello everyone, I am using Acrobat X. this.movePave(3,5) comment moving 4th page to 6th position. this.movePage(5,3) is not moving 6th page to 4th position. Please some one explain how to use this.movePage().

This topic has been closed for replies.
Correct answer try67

You should read the documentation instead of guessing:

3 replies

Participating Frequently
February 19, 2019

Hi hasanb16808860​,

Are you still facing the issue after reading documentation ?

Thanks,

Sahil

Participating Frequently
February 20, 2019

No. The answers are clear. Now I am looking for deleting pages listed in excel sheet.

try67
Community Expert
Community Expert
February 14, 2019

What is it doing, then?
Also, are you executing the two commands one after another?

Participating Frequently
February 15, 2019

Hello try67, I found your answers helpful in many forums. Specially interleave pages. I am not so much aware of java scripts. I used to search script online for my need and use them. Reveres the pages; interleave page arrangements; spell errors and so.

Now I am looking at how those individual comments working. Coming to point: this.movePage(3,5) moving 4th page to 6th page.

I rearrange the page again as it was at first. Then this.movePage(5,3) moving the 6th page to 5th page. And I found for this.movePage(x,y); x is lesser than y means it moving (x+1)th page to (y+1)th page. Where x is greater than y, it doing something what i could not understand.

Bernd Alheit
Community Expert
Community Expert
February 15, 2019

this.movePage(5,3) moves the 6th page after the 4th page. This is correct.

Bernd Alheit
Community Expert
Community Expert
February 14, 2019

The documentation:

Acrobat DC SDK Documentation