Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Turning-Off Undo and Recovery Folder

Participant ,
Jun 08, 2021 Jun 08, 2021

Copy link to clipboard

Copied

Hi,

My C++ PLN creates large complex documents (100-400 pages on average) and I get the impression that this is being slowed down by the maintenance of te undo stack and the recovery folder.

Is there a way in the SDK to turn these off completely ?

Very best regards,

Olivier

TOPICS
How to, Performance, SDK

Views

181

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Jun 08, 2021 Jun 08, 2021
For command history you can look at the ICmdHistory interface it has the Enable and Disable methods that should be of interest to you. -Manan

Likes

Translate

Translate
Adobe Community Professional ,
Jun 08, 2021 Jun 08, 2021

Copy link to clipboard

Copied

If you been working on an InDesign document for some time it's best occasionally to save it as an IDML document to clear out the crud that builds up over time and that can cause corruption and slow down the system.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 08, 2021 Jun 08, 2021

Copy link to clipboard

Copied

For command history you can look at the ICmdHistory interface it has the Enable and Disable methods that should be of interest to you.

-Manan

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jun 08, 2021 Jun 08, 2021

Copy link to clipboard

Copied

Manan, I think command sequences already disable the history. Olivier is talking a lower level.

Olivier, have you already tried the undo modes from scripting - wrap your plug-in code in one script method 😉

If that fails, there are plenty methods in IDataBase. Just search for "Internal use only" to make you drooling.

Some involve the protection level and are even without that comment. I haven't used them on regular publication files, but on throw-away files similar to scrap dbs. It may also be worth to have a look at the approaches taken by InDesign Server.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 21, 2021 Jun 21, 2021

Copy link to clipboard

Copied

LATEST

Thank you for the tip, Dirk.

As mentioned to Manan, it turns out that the issue was related to pages reflowing.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 21, 2021 Jun 21, 2021

Copy link to clipboard

Copied

Thank you for the tip, Manan.

It turns out that the issue was related to pages reflowing.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines