PDF-XChange - Tracker PDF Viewer - TIFF-XChange - Image-XChange - XMF-XChange - Raster-XChange - Support

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
 
jeffp
User
Topic Author
Posts: 813
Joined: Wed Sep 30, 2009 6:53 pm

SaveCopyAs

Tue Nov 14, 2017 5:49 pm

Is there anyway to control the file name that gets used with the SaveCopyAs command.

I have a user that doesn't want the text "Copy" appended to the original name.

Is this possible?

--Jeff
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2613
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: SaveCopyAs

Wed Nov 15, 2017 8:00 am

Hello Jeff,

Well you can make the SaveAsCopy command to behave like the SaveAs command if that would work for you. Basically you can replace the command handler and that should work.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
jeffp
User
Topic Author
Posts: 813
Joined: Wed Sep 30, 2009 6:53 pm

Re: SaveCopyAs

Wed Nov 15, 2017 2:17 pm

It needs to be SaveCopyAs not SaveAs. The former does not change anything about the loaded document. SaveAs does.
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2613
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: SaveCopyAs

Wed Nov 15, 2017 2:45 pm

Well that text can only be changed when that dialog closes. Meaning that the user will save that as _Copy but the file name can be modified afterwards.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
 
jeffp
User
Topic Author
Posts: 813
Joined: Wed Sep 30, 2009 6:53 pm

Re: SaveCopyAs

Wed Nov 15, 2017 2:49 pm

Ok. Thanks. I'll just display my own save as dialog and handle it from there.
 
User avatar
Sasha - Tracker Dev Team
User
Posts: 2613
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: SaveCopyAs

Wed Nov 15, 2017 2:59 pm

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Who is online

Users browsing this forum: No registered users and 2 guests