Pages order

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
titeuf
User
Posts: 18
Joined: Mon Sep 07, 2020 10:11 pm

Pages order

Post by titeuf »

Can I sort pages reversely, for example, 100 to 1 ?

I can't find the menu.
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Pages order

Post by TrackerSupp-Daniel »

Hi, titeuf

There is no default function to accomplish this, however it can be accomplished with JavaScript. What I have included below is a zip file containing a text document.
Before we begin, ensure that the Editor application is entirely closed, and not running in any capacity.
-Now, download the attached file, and open the zip archive:
ReversePageOrder.zip
(529 Bytes) Downloaded 56 times
-After that, place the contained txt file here:
C:\Program Files\Tracker Software\PDF Editor\JavaScripts
-After that, select the file, and change the extension from *.txt to *.js
-Now you can safely reopen the Editor, and you should notice a new tab has appeared at the far right of the Ribbon UI, containing a single tool.

If you open any PDF document, and then click that tool once, the pages will be quickly reversed, exactly as you need here.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
titeuf
User
Posts: 18
Joined: Mon Sep 07, 2020 10:11 pm

Re: Pages order

Post by titeuf »

Thanks for your quick reply.
However, now I use pdf xchange portable version. There is no JavaScripts folder. In this case, where should I do put the file?
Willy Van Nuffel
User
Posts: 2347
Joined: Wed Jan 18, 2006 12:10 pm

Re: Pages order

Post by Willy Van Nuffel »

The JavaScripts folder must be a subfolder of the one where your portable version is installed.

For example, if your installation files (= PDFXEdit.exe and others) are in a folder like C:\PDFX_Portable, then you should copy the javascript file(s) into C:\PDFX_Portable\JavaScripts.

In case the JavaScripts subfolder should not yet exist, you must create it yourself.

NOTE:
The name of the folder must exactly be like it is mentioned here, i.e. the "J" and the "S" in uppercase, and the word in plural form.

Best regards.

Willy
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Pages order

Post by Tracker Supp-Stefan »

Hello Willy Van Nuffel,

Many thanks for the help!

@titeuf - please let us know if you managed to get this to work for you!?

Kind regards,
Stefan
User avatar
PHK
User
Posts: 892
Joined: Tue Nov 24, 2020 4:02 pm

Re: Pages order

Post by PHK »

Interesting.

Can this new tool icon be moved to another existing tab and then the new tab deleted?
All best,

FringePhil
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Pages order

Post by Tracker Supp-Stefan »

Hello PHK,

Because those buttons are created dynamically on every start of the Editor - they will always be in their own tab I am afraid!

Kind regards,
Stefan
User avatar
PHK
User
Posts: 892
Joined: Tue Nov 24, 2020 4:02 pm

Re: Pages order

Post by PHK »

Ah, right, thank you. May I infer that this would add some microseconds to the application's initial load?
All best,

FringePhil
titeuf
User
Posts: 18
Joined: Mon Sep 07, 2020 10:11 pm

Re: Pages order

Post by titeuf »

I made JavaScripts folder and put the file.
It made Addon tab (애드온 in Korean). I tried a file. It works beautifully. Thanks. :D

Tracker Supp-Stefan wrote: Tue Jun 22, 2021 8:42 am Hello Willy Van Nuffel,

Many thanks for the help!

@titeuf - please let us know if you managed to get this to work for you!?

Kind regards,
Stefan
titeuf
User
Posts: 18
Joined: Mon Sep 07, 2020 10:11 pm

Re: Pages order

Post by titeuf »

The javascript file works fine.
However, there is no "JavaScripts" folder in both installed and portable versions, in my case.
I had to create the folder and it solved problems.
I want it to be a good reference for developers of my favorite PDF-Xchange.

Thanks again.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17820
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Pages order

Post by Tracker Supp-Stefan »

Hello titeuf,

Glad to hear that it all worked for you after you added those folder. Yes they are not created by default, and will only be there if you ever used some other JS in the past :)

Kind regards,
Stefan
Post Reply