Skip to main content
Participant
May 30, 2018 5:13 PM UTC
Question

setWorkArea api arguments

Hi,

I am trying to change the work area using the setWorkArea function but I got the following error:

TypeError: Bad argument.

var fe = app.getFrontend();

var curEnc = fe.addDLToBatch(projpath, format, preset, itemGUID, path);

curEnc.setWorkArea (startTimeInSecs, endTimeInSecs);

What am I doing wrong.

Thanks,

Galit

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Kevin J. Monahan Jr.
Legend
Sep 28, 2018 7:48 PM UTC

GalitZ,

Hello!

I am trying to change the work area using the setWorkArea function but I got the following error:

TypeError: Bad argument.

var fe = app.getFrontend();

var curEnc = fe.addDLToBatch(projpath, format, preset, itemGUID, path);

curEnc.setWorkArea (startTimeInSecs, endTimeInSecs);

I'm sorry, you've stumped me. Is this a function of AME that I am simply not aware of? Or are you looking for assistance with a different Adobe application? Please let me know.

Thanks,
Kevin

Translate
Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio