-
cs6 scripting – Set proxy path – simple scripting pointers needed
Hi,
I’m looking for a bit of easy (when you know how) scripting help. I can script, just not inside AE very well yet.
I’m trying to find some bits of script to cobble together to make the script I really want, but it’s taking too long to find what I need and I’m heading down the road of diminishing returns for the time I’ll save before it’s just quicker to do it manually. Sound familiar?
I have a large 3d job and when I render my frames, I get a post-render script to create proxies on the fly (saves processing thousands of frames afterwards to create proxy files).
After I import my renders into AE, I would just like to select the footage items I want and run a script to link them to their proxies which are in a mirrored folder structure.
I just need 4 elements to set it up.
1. Loop through the selected footage items.
2. Read the filename of the footage item.
3. Replace a part of the filename with another string
4. Set Proxy using the new path as the proxy source.Something like this in my VB/Softimage land.
for each oObj in Selection
strFilePath=oObj.filepath
strFilePathProxy=REN(strFilePath,”Renders”, “Renders_Proxies”)
oObj.SetProxy (strFilePathProxy)
nextAny donations of coding snippets gratefully received Guv’nor.
I will of course share the result.
Many thanks,
Adam.
Sorry, there were no replies found.