ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

CS6 scripting error - app.beginUndoGroup is not a function

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Robert HeadrickCS6 scripting error - app.beginUndoGroup is not a function
by on Oct 19, 2012 at 9:05:40 pm

Attaching a screenshot that will hopefully explain my confusion. I'm getting a debugging error when I run my (extremely basic) script, but it's telling me that something isn't a function when I'm staring right at the page in the After Effects CS6 Scripting Guide that told me what to write! Am I getting something basic wrong with regards to syntax or form or something like that?

This is my very first foray into the scripting world, so I'm totally prepared for the answer to to be "You did something stupid."



Return to posts index

Angelo LorenzoRe: CS6 scripting error - app.beginUndoGroup is not a function
by on Oct 19, 2012 at 10:18:10 pm

I believe you need to put the undo group commands within the function itself.

Angelo Lorenzo
Fallen Empire Digital Production Services - Los Angeles
RED transcoding, on-set DIT, and RED Epic rental services
Fallen Empire - The Blog
A blog dedicated to filmmaking, the RED workflow, and DIT tips and tricks


Return to posts index

Robert HeadrickRe: CS6 scripting error - app.beginUndoGroup is not a function
by on Oct 19, 2012 at 10:20:30 pm

Found the solution... it has nothing to do with the script, which was written correctly. I was operating with the ExtendScript Toolkit rather than the After Effects CS6 library, so it just didn't have the correct set of functions and methods available to pull from. As I suspected, stupid mistake.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]