Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions cs6 scripting – Set proxy path – simple scripting pointers needed

  • cs6 scripting – Set proxy path – simple scripting pointers needed

    Posted by Adam Seeley on September 22, 2013 at 5:12 pm

    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)
    next

    Any donations of coding snippets gratefully received Guv’nor.

    I will of course share the result.

    Many thanks,

    Adam.

    Adam Seeley replied 12 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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