How retrive 'output folder' from script

Advanced Renamer forum
#1 : 26/06-19 15:46
TheWise
TheWise
Posts: 1
Hello all,

inside a script I need to retrive the value of field 'output folder' for build the newPath property of each item.
There is a way to get this value with provided Javascript interfaces?
Thank you


26/06-19 15:46
#2 : 26/06-19 21:39
John
John
Posts: 15
Reply to #1:
I used
var myPath = app.getItem(0).newPath
in the pre-batch script. Then used myPath as the base for each item's Path.

You could also use
item.newPath = item.newPath + <extra bits>
in the main script for each item.

See this thread https://www.advancedrenamer.com/forum_thread?for um_id=9947



26/06-19 21:39