• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

scripting, UndoModes

Participant ,
Apr 08, 2024 Apr 08, 2024

Copy link to clipboard

Copied

https://developer.adobe.com/indesign/dom/api/u/UndoModes/

Is there an EXPLANATION for this?
What is FAST_ENTIRE_SCRIPT vs AUTO_UNDO and how do these modes relate to multiple casts to doScript and in a multi-document scenario?

TOPICS
How to , Scripting

Views

87

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
Community Expert ,
Apr 08, 2024 Apr 08, 2024

Copy link to clipboard

Copied

Hi @Lordrhavin,

FAST_ENTIRE_SCRIPT can cause issues. See the following discussion and blog to get some information on it and information about undo in general

https://www.indiscripts.com/post/2011/08/notes-on-fastentirescript-undo-mode

https://community.adobe.com/t5/indesign-discussions/doscript-undomodes-breaks-indesign-s-undo-cs4/m-...

My personal experience has been unless you actually see some gains on using FAST_ENTIRE_SCRIPT avoid using it. The issue it introduced into my code was very hard to debug.

-Manan

Votes

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 ,
Apr 08, 2024 Apr 08, 2024

Copy link to clipboard

Copied

Thanks a lot!

> "Anyway, the difference between entireScript and fastEntireScript is not clearly documented. "

Yes, why should it!? -.- Adobe seems to be either unaware that people pay for this product or that they are selling in the EU and are legally REQUIRED to fulfill IEC/IEEE-82079-1. At least, their API-Dokumentation fails to do that.

Votes

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
Community Expert ,
Apr 08, 2024 Apr 08, 2024

Copy link to clipboard

Copied

Adobe documentation has always been terse to say the least. It is the developer community that digs in to get undocumented information and that is what we share with each other.

-Manan

Votes

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 ,
Apr 08, 2024 Apr 08, 2024

Copy link to clipboard

Copied

LATEST

Yes, I really appreciate that. They're still legally required to do better, if they wanna sell in the EU. They already got a warning shot in 2023. I think I have to write someone that I happen to know personally in the EU-parliament for another one 😄 

Votes

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