JavaScript to save all documents (tabs) in window to one location (folder/file path)
Would anyone be up for the challenge?
You see, as previously mentioned (in other threads), sometimes "save all" works for "unsaved" opened documents, other times it doesn't, so this would really save some time.
Hmm... maybe a save as dialogue could appear for the 1st document, and then the rest could just automatically be saved to the same file path (folder) as the first?
JavaScript to save all documents (tabs) in window to one location
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: 1372
- Joined: Mon Nov 15, 2021 8:38 pm
JavaScript to save all documents (tabs) in window to one location
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
- Daniel - PDF-XChange
- Site Admin
- Posts: 10910
- Joined: Wed Jan 03, 2018 6:52 pm
Re: JavaScript to save all documents (tabs) in window to one location
Hello, MedBooster
I expect that starting a "save as" action for all open documents could be possible, but I am not so sure that inheriting the selected location as the target folder would be. I wish you luck in your search with this. As per usual, I cannot help with writing new JS.
Kind regards,
I expect that starting a "save as" action for all open documents could be possible, but I am not so sure that inheriting the selected location as the target folder would be. I wish you luck in your search with this. As per usual, I cannot help with writing new JS.
Kind regards,
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
-
- User
- Posts: 1372
- Joined: Mon Nov 15, 2021 8:38 pm
Re: JavaScript to save all documents (tabs) in window to one location
Master Mathew, any advice? Maybe you would consider making such a script for PDF-XCE?
I'm getting annoyed with such errors when batch saving multiple PDF-documents for the first time... I end up having to save each file manually
Half of the time I am able to just chose save all and I will be asked for each and I just have to press Enter a few times, that's easier, but a JavaScript could possibly work around this, right?
↑error from using save all with documents not saved yet (doesn't happen all the time, maybe 20% of the time
I'm getting annoyed with such errors when batch saving multiple PDF-documents for the first time... I end up having to save each file manually
Half of the time I am able to just chose save all and I will be asked for each and I just have to press Enter a few times, that's easier, but a JavaScript could possibly work around this, right?
↑error from using save all with documents not saved yet (doesn't happen all the time, maybe 20% of the time
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
- Vasyl - PDF-XChange
- Site Admin
- Posts: 2444
- Joined: Thu Jun 30, 2005 4:11 pm
Re: JavaScript to save all documents (tabs) in window to one location
Do you mean this feature:You see, as previously mentioned (in other threads), sometimes "save all" works for "unsaved" opened documents, other times it doesn't, so this would really save some time.
?
Does this one sometimes not work? If yes - can you explain how to reproduce the problem(s)?
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
- Vasyl - PDF-XChange
- Site Admin
- Posts: 2444
- Joined: Thu Jun 30, 2005 4:11 pm
Re: JavaScript to save all documents (tabs) in window to one location
It appears you are using an older version, as the current version shows which program locked the file and caused the AccessDenied error...
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.