Thanks.
Solved this problem by creating modified shortcut to AfterFX.exe.
In shortcut prorperties add
“C:\Program Files\Adobe\Adobe After Effects CS5\Support Files\AfterFX.exe” -r C:\“path“\“script name”.jsx
to open your project add in the beggining of the script
{
var myPath = “/Project path/”;
var myProjectName = “project name.aep”;
var myProject = File(myPath + myProjectName);
app.open(myProject);
}
and then paste script you want to run.
Director of animation and CG