JSX: Add to history?

Explorer ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

Hello,

is there a way to add a action (done by plugin) to the history panel? I also testet the PProPanel Example. If an action isnt added to the history, i cant undo (ctrl + z) the action created by my script/plugin.

 

greetings

TOPICS
SDK

Views

53

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 2 Correct answers

Adobe Employee , Mar 28, 2022 Mar 28, 2022
No; PPro's ExtendScript API operates outside the Undo stack.

Likes

Translate

Translate
Adobe Employee , Mar 28, 2022 Mar 28, 2022
> Is there a reason for it? 'Why' questions are more appropriate to a Philosophy discussion, but...PPro's ExtendScript API existed before the undo stack, and (behind the scenes) may do things that would generate multiple undo actions.  > What if someone is working with a more complex plugin, which messes up the footage for some reason? Parameter changes to plug-ins (which are very different from extensions!) do operate within PPro's Undo stack. Your concerns about complex extensions which m...

Likes

Translate

Translate
Adobe Employee ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

No; PPro's ExtendScript API operates outside the Undo stack.

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
Explorer ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

Hi,

thanks for your reply. Is there a reason for it? What if someone is working with a more complex plugin, which messes up the footage for some reason?

 

greetings

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 Employee ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

> Is there a reason for it?

'Why' questions are more appropriate to a Philosophy discussion, but...PPro's ExtendScript API existed before the undo stack, and (behind the scenes) may do things that would generate multiple undo actions. 

> What if someone is working with a more complex plugin, which messes up the footage for some reason?

Parameter changes to plug-ins (which are very different from extensions!) do operate within PPro's Undo stack.

Your concerns about complex extensions which might do something non-undo-able, are valid. One good idea = many extensions clone a sequence before operating on it.

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
Explorer ,
Mar 28, 2022 Mar 28, 2022

Copy link to clipboard

Copied

LATEST

Many Thanks for your reply.

 

greetings

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