SaveCopyAs

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, 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.
Post Reply
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

SaveCopyAs

Post by jeffp »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: SaveCopyAs

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: SaveCopyAs

Post by jeffp »

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

Re: SaveCopyAs

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jeffp
User
Posts: 914
Joined: Wed Sep 30, 2009 6:53 pm

Re: SaveCopyAs

Post by jeffp »

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

Re: SaveCopyAs

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply