Error when creating a file with drag'n'drop from an app.
Error when creating a file with drag'n'drop from an app.
Hello,
I am using PDF-XChange Editor to extract pdf pages from pdf files.
PDF-XChange allows to select the pages to extract and to do a drag'n'drop in the explorer to create a new pdf from these selected pages.
It works well in Windows Explorer.
But it does not work with XYPlorer.
I get this error:
'Failed to get dropped contents of '.... :
I am using PDF-XChange Editor to extract pdf pages from pdf files.
PDF-XChange allows to select the pages to extract and to do a drag'n'drop in the explorer to create a new pdf from these selected pages.
It works well in Windows Explorer.
But it does not work with XYPlorer.
I get this error:
'Failed to get dropped contents of '.... :
Re: Error when creating a file with drag'n'drop from an app.
Yeah, I can confirm that this doesn't work :/
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error when creating a file with drag'n'drop from an app.
Strange, my PDF-XChange Viewer does not allow this operation (no dropping anywhere, also not to Explorer) . Maybe only the PDF-XChange Editor can do it?
FAQ | XY News RSS | XY Twitter
Re: Error when creating a file with drag'n'drop from an app.
Indeed it is a feature of the PDF-XChange Editor (http://www.tracker-software.com/product ... nge-editor). The free version has replaced PDF-XChange Viewer.admin wrote:Strange, my PDF-XChange Viewer does not allow this operation (no dropping anywhere, also not to Explorer) . Maybe only the PDF-XChange Editor can do it?
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error when creating a file with drag'n'drop from an app.
OK, installed it and could reproduce the issue. Alas, I could not fix it.
FAQ | XY News RSS | XY Twitter
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error when creating a file with drag'n'drop from an app.
PS: Looks like I fixed it now.
FAQ | XY News RSS | XY Twitter
Re: Error when creating a file with drag'n'drop from an app.
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de
Re: Error when creating a file with drag'n'drop from an app.
You might want to also check if copying pages and pasting them into XY works with your fix.admin wrote:PS: Looks like I fixed it now.
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error when creating a file with drag'n'drop from an app.
Haha, good point. Infact it does not work at all after (or before) the fix. They do some very exotic things at PDF-XChange... My only consolation: Explorer cannot handle this one either.TheQwerty wrote:You might want to also check if copying pages and pasting them into XY works with your fix.admin wrote:PS: Looks like I fixed it now.
FAQ | XY News RSS | XY Twitter
Re: Error when creating a file with drag'n'drop from an app.
Based on what I was seeing in Free Clipboard Viewer, it looked like if you found the PXCEditCbData format you could just write that to disk and it would be a valid PDF. Though there might be a small header prior to the actual start of the file, presumably at '%PDF-' - I'm not familiar enough with the format and am too lazy to check if that header contains size information like I suspect.
The drag and drop looked like it provided a FileDescriptorW and FileContents that you might be able to write out, but in my small tests I ran into ugly shortcomings in .NET that caused me to lose interest.
The drag and drop looked like it provided a FileDescriptorW and FileContents that you might be able to write out, but in my small tests I ran into ugly shortcomings in .NET that caused me to lose interest.
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error when creating a file with drag'n'drop from an app.
Yep, I saw all that, too.TheQwerty wrote:Based on what I was seeing in Free Clipboard Viewer, it looked like if you found the PXCEditCbData format you could just write that to disk and it would be a valid PDF. Though there might be a small header prior to the actual start of the file, presumably at '%PDF-' - I'm not familiar enough with the format and am too lazy to check if that header contains size information like I suspect.
The drag and drop looked like it provided a FileDescriptorW and FileContents that you might be able to write out, but in my small tests I ran into ugly shortcomings in .NET that caused me to lose interest.
1) PXCEditCbData is something totally unknown (to Google). I don't want to go so far to write custom code for PDF-XChange.
2) Yes, this works now in XY (as I wrote in an earlier post).
FAQ | XY News RSS | XY Twitter
Re: Error when creating a file with drag'n'drop from an app.
1) I lazily confirmed my suspicion of there being a header in the copied data:admin wrote:1) PXCEditCbData is something totally unknown (to Google). I don't want to go so far to write custom code for PDF-XChange.
2) Yes, this works now in XY (as I wrote in an earlier post).
- Using clipboard viewer I saved the copied page(s) data to a file.
- I changed the extension to PDF.
- Opened it in PDF-XChange.
- PDF-XChange rendered it but complained about some XREF errors but allowed me to save it.
- Comparing the output showed the header was removed as well as some other changes.
- Opening the originally saved copied data file in a hex editor I removed everything before the '%PDF'.
- Saved it to a new file.
- Opened in PDF-XChange.
- No errors and it appears to render perfectly.
2) I misread your previous post - thinking you meant your fix was not successful for drops.
Re: Error when creating a file with drag'n'drop from an app.
In PDF Editor and current XYP beta, I seem to be getting this bug when I drop 6+ selected pages from the thumbnail pane to XYP.
However, copying a range of up to 5 pages does work.
Can more than 5 pages please be fixed in XYP? Works in File Explorer.
Maybe XYP just needs to wait a few moments longer to let the file drop when it's more than 5 pages?
However, copying a range of up to 5 pages does work.
Can more than 5 pages please be fixed in XYP? Works in File Explorer.
Maybe XYP just needs to wait a few moments longer to let the file drop when it's more than 5 pages?
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Error when creating a file with drag'n'drop from an app.
XY just waits for the preview handler to return.
FAQ | XY News RSS | XY Twitter