Combine odd & even pages plugin

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

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

Combine odd & even pages plugin

Post by titeuf »

I used Combine odd & even pages plugin without any problem.

But I can't file the plugin in the menu on 10.3.1 build 387.
I have the plugin in Javascript folder.

Could you check if it works well in the version?

Thanks in advance.
image.png
image(1).png
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Combine odd & even pages plugin

Post by Stefan - PDF-XChange »

Hello titeuf,

Was it this tool that you did download:
viewtopic.php?p=173095&hilit=tool#p173095

If it was a different one - can you please share with us (you would have to zip it first) the version of the "combine even odd pages menu.js" file that you have on your machine so that we can take a look?

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

Re: Combine odd & even pages plugin

Post by titeuf »

Thanks for your quick reply.

Of course it is what I downloaded from the link above.

However, just in case, I upload the file I use.
combine even odd pages menu.zip
You do not have the required permissions to view the files attached to this post.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Combine odd & even pages plugin

Post by Stefan - PDF-XChange »

Hello titeuf,

Thanks! I can see that the script indeed does not seem to show in the Add-on tools int he Ribon UI.
I will check with Mathew who developed that script.

In the mean time - I see that Mathew is including this script in the Classic UI as well under the "Document" menu - and that is correctly showing:
image.png
I will also check with our own devs on why the ribbon UI might not be showing this script in the current version!

Kind regards,
Stefan
You do not have the required permissions to view the files attached to this post.
titeuf
User
Posts: 65
Joined: Mon Sep 07, 2020 10:11 pm

Re: Combine odd & even pages plugin

Post by titeuf »

Thanks for your reply.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Combine odd & even pages plugin

Post by Stefan - PDF-XChange »

:)
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11417
Joined: Wed Jan 03, 2018 6:52 pm

Re: Combine odd & even pages plugin

Post by Daniel - PDF-XChange »

Hello, all

I overlooked this multiple times, but it would appear that the reason this is not appearing on the Ribbon is due to Mathews use of "app.addMenuItem", and having then specified the "Document" menu for this to be placed on. Since the Document menu does not exist in the Ribbon UI, the tool cannot be create there. (note that Vasyl has proposed a solution for this, which ive just heard confirmation, it will be implemented in the next release: viewtopic.php?p=181162#p181162

To get around this there are two options, both involving changes to the JS code:
1. changing the word "Document" to "file", will allow this tool to appear in the "File" menu in both UI's.
image.png
2. Changing the "app.addMenuItem" to "app.addToolButton", remove the cParent line entirely, and change "cUser" to "cLabel", will cause the tool to appear on the "addon tools" men.
image(1).png
And after writing all of this and taking screenshots, I realized I had created the solution files you need, so please find them attached as well! (use only one of these files)
(choose one file).zip
Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com