Test if running with After Effects UI
Posted: February 3rd, 2011, 5:18 am
Hi Guys,
Is there a way to test for certain if a script is running inside the After Effects UI?
I am currently testing whether $.fileName contains "Scripts/ScriptUI Panels". It's pretty likely to work, but a user could of course run a script from this location using File->Run Script.
Is there a more robust method?
Thanks.
Ben.
Is there a way to test for certain if a script is running inside the After Effects UI?
I am currently testing whether $.fileName contains "Scripts/ScriptUI Panels". It's pretty likely to work, but a user could of course run a script from this location using File->Run Script.
Is there a more robust method?
Thanks.
Ben.