Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Work Area Shift

Tagged: 

  • Work Area Shift

    Posted by Tudor Baican on January 5, 2023 at 2:26 pm

    Hello Friends,

    my script shout just shift the work area start point.

    If the start point is smaller the current time it’s work fine,

    but if it’s bigger the start point don’t fit and the duration also change to a bigger value. ???

    What’s wrong here?

    Thanks for your help

    var activeComp = app.project.activeItem;
    activeComp.workAreaStart = 5;
    activeComp.workAreaDuration = 2;
    Tudor Baican replied 3 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Walter Soyka

    January 5, 2023 at 3:25 pm

    Your script should work fine. This is a bug. I suggest you report the bug and write a work-around function to repeatedly attempt setting the workAreaStart and checking for success. (Looks to me like it works on the second attempt.)

  • Tudor Baican

    January 5, 2023 at 3:49 pm

    Ok, lot of thanks…seems to be bug.

    It works on the second attempt!!

    var activeComp = app.project.activeItem;

    activeComp.workAreaStart = 5;

    activeComp.workAreaStart = 5;

    activeComp.workAreaDuration = 2;

    I set the workAreaStart two times and it work properly.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy