ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Scripting Question

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan Fredley
Re: Scripting Question
on Aug 8, 2012 at 6:32:43 pm

This script "tricks" AE into setting the video preview device to "Computer Monitor Only", but there seems to be no way to set the preference to a specific device, so you'll have to use the above solution to switch back to your external video output:

{
app.preferences.savePrefAsString("MacOS Video Preview Pref Section", "Device", "Computer Monitor Only");
app.preferences.saveToDisk();
app.preferences.reload();
}


Including "Computer Monitor Only" in the first line of code really doesn't matter--it basically sets the preference to an unknown device, forcing AE to default to "Computer Monitor Only" behind the scenes. I only wrote it out literally to show what the script is trying to do even though it doesn't mean anything. If that makes sense. It gets you one step closer.


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]