Adobe Creative Cloud

error (21::31) when you start After Effects on Mac OS 10.9 and later after editing the keyboard shortcut file

If you use TextEdit on Mac OS 10.9 or later to edit the After Effects keyboard shortcuts file, you may receive an error similar the following the next time you start After Effects:

After Effects error: preferences file "Adobe After Effects 13.1 Mac en_US Shortcuts.txt"
contains an unexpected value on line 142, " "Twirl" = ,Äú(macControl+`),Äú". (21::31)

To solve this issue, open the keyboard shortcuts file in TextEdit again, choose Edit > Substitutions and disable Smart Quotes. Then edit the same line you edited previously to replace any left or right double-quotation mark characters (“ or “) with the non-directional double-quotes character (“). Just press the quotation mark key on your keyboard, this should now create the non-directional double-quotes character.

On Mac OS 10.9 and later, Smart Quotes are enabled by default in TextEdit. This causes the double-quotes character (“) to be automatically replaced by the left or right double-quotation marks (“ or “). After Effects does not recognize the left or right marks as the correct delimiters for entries in the keyboard shortcuts file. In general, using Smart Quotes or other smart character replacement is not useful when editing application scripts like the keyboard shortcuts file.

You can disable Smart Quotes and other substitutions on a document-by-document basis by using the Edit > Substitutions menu, or you can disable this for all documents in the preferences for TextEdit.

Other typos or incorrect syntax in the keyboard shortcuts file will generate a similar error message. If Smart Quotes do not solve the issue, double-check your entry for correct spelling and formatting.

After Effects, General, Region of Interest