How to extract page to file with file named with specific text in the current page? SOLVED
Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 7
- Joined: Thu Oct 08, 2020 10:51 am
How to extract page to file with file named with specific text in the current page?
Hi all,
I want to extract page to file with the file shall be named with text combined from two location in the current page - the page is extracting.
The situation is the location may vary and fixed.
Anyone have any advise to my problem, please share it to me.
Many thanks.
KM
I want to extract page to file with the file shall be named with text combined from two location in the current page - the page is extracting.
The situation is the location may vary and fixed.
Anyone have any advise to my problem, please share it to me.
Many thanks.
KM
Last edited by maikhanhmst on Sat May 20, 2023 12:16 am, edited 1 time in total.
-
- Site Admin
- Posts: 19846
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to extract page to file with file named with specific test in the current page?
Hello maikhanhmst,
I am afraid that it is not currently possible to use text from a specific location on a document's page(s) as part of the file name. Sorry.
Kind regards,
Stefan
I am afraid that it is not currently possible to use text from a specific location on a document's page(s) as part of the file name. Sorry.
Kind regards,
Stefan
-
- User
- Posts: 7
- Joined: Thu Oct 08, 2020 10:51 am
Re: How to extract page to file with file named with specific test in the current page?
Hello Stefan,
Many thanks for your information.
Regards,
KM
Many thanks for your information.
Regards,
KM
-
- User
- Posts: 1671
- Joined: Sat Sep 11, 2021 5:04 am
Re: How to extract page to file with file named with specific test in the current page? SOLVED
Hello maikhanhmst,
The Extract pages feature allows you to specify the title of the bookmark as a file name, so if you can create the desired file name as a bookmark in advance, your goal will be achieved.
Therefore, your request might be be replaced with how to create the desired file name as bookmarks.
For example, if you have text in a certain position that you want to use as part of a file name, you can do the following.
Since different people may have different skills in editing text files, etc., this is only a rough outline of the procedure. Also, the above procedure is meaningful only if the file has at least several hundred pages, and if it has only a few pages, it would be much faster to do it all by hand.
I have only described what I would try if I were in your shoes.
Hoping that the above information will be of some help to you.
Best regards,
rakunavi
The Extract pages feature allows you to specify the title of the bookmark as a file name, so if you can create the desired file name as a bookmark in advance, your goal will be achieved.
Therefore, your request might be be replaced with how to create the desired file name as bookmarks.
For example, if you have text in a certain position that you want to use as part of a file name, you can do the following.
- Make two copies of the file.
- Crop the first copy of the file so that only the first text you want to use as the file name is displayed.
- Save the first file as a text file.
- Crop the second file you copied so that only the second text you want to use as the file name is displayed.
- Save the second file as a text file.
- Merge the two text files line by line.
- Edit the file in bookmark text format for PDF-XChange Editor, and then execute "Generate Bookmarks From Text File" feature.
- Product Manuals » PDF-XChange Editor V9 » Tabs Guide » Bookmarks Tab » Generate Bookmarks from Text File
https://help.pdf-xchange.com/pdfxe ... le_ed.html
- Product Manuals » PDF-XChange Editor V9 » Tabs Guide » Bookmarks Tab » Generate Bookmarks from Text File
- Extract each page by specifying the bookmark title as the filename in the Extract Pages dialog.
Since different people may have different skills in editing text files, etc., this is only a rough outline of the procedure. Also, the above procedure is meaningful only if the file has at least several hundred pages, and if it has only a few pages, it would be much faster to do it all by hand.
I have only described what I would try if I were in your shoes.
Hoping that the above information will be of some help to you.
Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
-
- Site Admin
- Posts: 19846
- Joined: Mon Jan 12, 2009 8:07 am
Re: How to extract page to file with file named with specific text in the current page?
Hello rakunavi,
Many thanks for the suggestion!
@maikhanhmst - please do let us know if the above helps!?
Kind regards,
Stefan
Many thanks for the suggestion!
@maikhanhmst - please do let us know if the above helps!?
Kind regards,
Stefan
-
- User
- Posts: 7
- Joined: Thu Oct 08, 2020 10:51 am
Re: How to extract page to file with file named with specific test in the current page?
Hello rakunavi,rakunavi wrote: ↑Sat May 20, 2023 12:24 am Hello maikhanhmst,
The Extract pages feature allows you to specify the title of the bookmark as a file name, so if you can create the desired file name as a bookmark in advance, your goal will be achieved.
Therefore, your request might be be replaced with how to create the desired file name as bookmarks.
For example, if you have text in a certain position that you want to use as part of a file name, you can do the following.
If the text is positioned in different places, it would be more efficient to create one bookmark at a time with the "Use Selected Text as Title" option enabled on Options menu of Bookmarks pane, instead of cropping as described in the above procedure. After combining two bookmarks per page into one bookmark, the above procedure should do the trick.
- Make two copies of the file.
- Crop the first copy of the file so that only the first text you want to use as the file name is displayed.
- Save the first file as a text file.
- Crop the second file you copied so that only the second text you want to use as the file name is displayed.
- Save the second file as a text file.
- Merge the two text files line by line.
- Edit the file in bookmark text format for PDF-XChange Editor, and then execute "Generate Bookmarks From Text File" feature.
- Product Manuals » PDF-XChange Editor V9 » Tabs Guide » Bookmarks Tab » Generate Bookmarks from Text File
https://help.pdf-xchange.com/pdfxe9/ind ... le_ed.html- Extract each page by specifying the bookmark title as the filename in the Extract Pages dialog.
Since different people may have different skills in editing text files, etc., this is only a rough outline of the procedure. Also, the above procedure is meaningful only if the file has at least several hundred pages, and if it has only a few pages, it would be much faster to do it all by hand.
I have only described what I would try if I were in your shoes.
Hoping that the above information will be of some help to you.
Best regards,
rakunavi
Sorry for my late reply. I faced the same problem, so I decided to visit the forum to find the answer. And then I found my own post with your kind reply here—haha.
Thank you so much! It seems to have solved my problem, but not perfectly. Some pages are missing content in the cropped area, and the text is broken into multiple lines in the text file. But it's not a big problem. I'm trying to get perfect results.
Cheer!!!
-
- User
- Posts: 1671
- Joined: Sat Sep 11, 2021 5:04 am
Re: How to extract page to file with file named with specific text in the current page?
Hello maikhanhmst,
Thank you for your feedback. People use the program in different ways, it is very helpful to know that. Also, knowing how on target my comments were is very important to the quality of my postings.
Best regards,
rakunavi
Thank you for your feedback. People use the program in different ways, it is very helpful to know that. Also, knowing how on target my comments were is very important to the quality of my postings.
Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
-
- Site Admin
- Posts: 19846
- Joined: Mon Jan 12, 2009 8:07 am
-
- User
- Posts: 567
- Joined: Thu Jun 19, 2014 7:30 pm
Re: How to extract page to file with file named with specific test in the current page?
This tool will create bookmarks from text in specific areas on pages (steps 1-7) so you could use @rakunavi's method with two steps:rakunavi wrote: ↑Sat May 20, 2023 12:24 am The Extract pages feature allows you to specify the title of the bookmark as a file name, so
....
...
- Make two copies of the file.
- Crop the first copy of the file so that only the first text you want to use as the file name is displayed.
- Save the first file as a text file.
- Crop the second file you copied so that only the second text you want to use as the file name is displayed.
- Save the second file as a text file.
- Merge the two text files line by line.
- Edit the file in bookmark text format for PDF-XChange Editor, and then execute "Generate Bookmarks From Text File" feature.
- Product Manuals » PDF-XChange Editor V9 » Tabs Guide » Bookmarks Tab » Generate Bookmarks from Text File
https://help.pdf-xchange.com/pdfxe9/ind ... le_ed.html- Extract each page by specifying the bookmark title as the filename in the Extract Pages dialog.
- Run Bookmarks by Page Areas to generate the bookmarks
- Extract each page by specifying the bookmark title as the filename in the Extract Pages dialog.
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 1671
- Joined: Sat Sep 11, 2021 5:04 am
Re: How to extract page to file with file named with specific text in the current page?
Hello Mathew, thank you for the great advice.
As always, I am impressed with your god-like scripts and precise comments. What a wonderful person you are!
I always admire your perfectly timed comments.
Best regards,
rakunavi
As always, I am impressed with your god-like scripts and precise comments. What a wonderful person you are!

I always admire your perfectly timed comments.
Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
-
- User
- Posts: 567
- Joined: Thu Jun 19, 2014 7:30 pm
Re: How to extract page to file with file named with specific text in the current page?
Not sure my timing is perfect, but oh wow! a massive compliment. Thank you.
Your extensive knowledge and detailed explanations, and bug reports are extremely valuable and very much appreciated by me too
Usually by the time I run into a bug, you've already reported it. And at least half the time I think I need to make a script to do something that -- lo! -- there's a post by you explaining how to do it without a script. Thank you!

Your extensive knowledge and detailed explanations, and bug reports are extremely valuable and very much appreciated by me too

-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
How to extract page to file with file named with specific text in the current page?

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
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