-
fix to 7.0 problem for renderfarm macs
If you’ve upgraded from 6.5 to 7.0 and you have a mac Renderfarm you may have noticed a bug in 7.0. If you pass a script using applescript to start the watch folder in After Effects as it states in the “After Effects Scripting Guide” on page 8 & the script causes After Effects to open, the watch folder won’t search. Similarly if you were to put the script in the “Scripts/Startup” folder in the Render Engine application folder, the same thing happens. But you can’t pass a script “open application” to After Effects first because you’ll get the error in After Effects: “After Effects error: sorry the last command could not be completed (-1700)”.
Here are the scripts & the workaround:
an After Effects Script file called watchfolder.jsx contains:
var MyFolder = new Folder(““);
app.watchFolder(MyFolder);an After Effects Script file called end.jsx contains:
app.endWatchFolder();an Applescript saved as an application which I call “Start Renderfarm”:
mount volume “
”
set the_file to “/Applications/Adobe After Effects 7.0 RE/Scripts/watchfolder.jsx”
set the_otherfile to “/Applications/Adobe After Effects 7.0 RE/Scripts/end.jsx”
set the new_file to POSIX file the_file
set the new_otherfile to POSIX file the_otherfileignoring application responses
tell application “Adobe After Effects 7.0”
DoScript new_file
end tell
end ignoringdelay 5
ignoring application responses
tell application “Adobe After Effects 7.0”
DoScript new_otherfile with override
DoScript new_file
end tellend ignoring
I have my renderfarm computers automatically login to the renderfarm account on start up & when they login the application “start renderfarm” is automatically opened to start the computer watching the networked watch folder.
-Carolyn