AE Suicide: After Effects Crash Recovery

When running Adobe After Effects under OSX, it is possible to attempt to force a crash recovery if the application become unresponsive. I’ve written a script to make the process a little more painless.

The Script


set procName to "Contents/MacOS/After Effects"
set grepCommand to "ps -ef | grep -i '" & procName & "' | grep -v grep | awk {'print $2'} | head -1"
set curPID to do shell script grepCommand
if curPID is not "" then
set killCommand to "kill -SEGV " & curPID
set result to do shell script killCommand
end if

Stand-Alone Version

You can export the above AppleScript as an application to keep in your Dock, or download a prebuilt version below:

AE Suicide 1.0

Credits

AE Suicide was written based on a technique outlined here:

Adobe After Effects CS4: Optimize the Pipeline

Thanks to Eric Bauer for first turning me on to this trick and Paulo Dias for help with testing and designing the icon.

AE Suicide was completed in Seattle, Washington on 2010-01-04.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • FriendFeed
  • Reddit
  • RSS
  • StumbleUpon
  • Twitter

3 Responses to “AE Suicide: After Effects Crash Recovery”


  • This is by far the best bloody script i have come across for after effects. There are a lot out there but this one is definitely a keeper.

    The amount of times i have done something stupid and stalled after effects and then realised i still haven’t got around to switching my auto save on after the last time it crashed and sneakily reset my preferences.

    You just saved my ass big time with this little beauty. 5 hours of intensive work could of been dropped by having to quit.

    Thanks for putting this simple but effective script together.

  • omg, thank you so goddamn much. i’ve needed this for litterally years.

    i probably could have saved myself a solid 1-2 months over the years. jeezus.

    thank you thank you thank you!

  • Woah! This is sweet!

Leave a Reply