Page 1 of 1

Question: AE CS3 Starup Scripts Execute X+1 number of cores.

Posted: November 20th, 2007, 5:42 pm
by DennisK
Hi, All I'm new to the forum.

I've written a jxs script for AE CS3, when running it in "Multiframe"/"MultiCore" enabled setting. It executes not once (like I would Like it to) but the amount of times that AfterFX.exe could be seen started in the process listing on Windows XP.

So on a 2 core machine it runs 3 times and 4 core machine it runs 5 times.

Due to the nature of the Startup script I would really want it to run once.

I tried using app.isRenderEngine - app.isWatchFolder but I guess in multiframe the extra copies of AfterFX.exe running are not considered that.

Did anyone run into this problem before? Any adivce or help is appreciated.

Please excuse that my first post is a help request.

Thanks.
-DK

Posted: November 30th, 2007, 7:46 pm
by kyamada
Try to use app.isUISuppressed to check whether the process is background or not. It will return true for background processes.


Thanks,

-keiko

Posted: December 4th, 2007, 2:39 pm
by DennisK
kyamada wrote:Try to use app.isUISuppressed to check whether the process is background or not. It will return true for background processes.


Thanks,

-keiko
Thanks Kindly

This worked Well. Somebody should add it to the FAQ if there is one.