Skip to main content
Participant
May 30, 2018
Question

setWorkArea api arguments

  • May 30, 2018
  • 1 reply
  • 349 views

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 has been closed for replies.

1 reply

Kevin J. Monahan Jr.
Community Manager
Community Manager
September 28, 2018

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

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