Forum Replies Created

Page 1 of 24
  • Jeff Hinkle

    September 10, 2026 at 4:50 pm in reply to: CSV scripting output

    Amazing! Works like a charm. I can understand maybe an eighth of the actual script, but the results are perfect! Many, many thanks! You just saved me piles of time and headaches.

  • Jeff Hinkle

    September 10, 2026 at 3:16 pm in reply to: CSV scripting output

    Okay, think I’ve eliminated anything that might give Legal a breakdown and replaced it with generic info. The .js file is a mess, but it was cobbled together with chunks from the internet that seemed to do what I needed. No doubt there’s a much more elegant solution.

    End of the day, I’m hoping to take the CSV from another department (that will be getting changed and updated constantly), run through the length of the CSV, and spit out a PNG for each CSV row, named with the info in the STATION column. I’m 90% there but can’t get the filename to use the STATION data.

  • Jeff Hinkle

    September 10, 2026 at 1:29 pm in reply to: CSV scripting output

    Much obliged! Legal won’t let me release anything “identifiable” so let me replace anything they might find problematic and I’ll post it up. And yes, help is definitely appreciated!

  • Jeff Hinkle

    May 14, 2024 at 6:19 pm in reply to: Use a dropdown to select an array?

    That DID work! I never knew that the order of variable assignments could be an issue. Thank you as always for the help.

  • Jeff Hinkle

    May 14, 2024 at 5:51 pm in reply to: Use a dropdown to select an array?

    Sadly, no. Tried it a few ways and always returns some variation of “Cannot read property of undefined”

    a=thisComp.layer("controls").effect("show")("Menu"); //value of Show menu
    b=thisComp.layer("controls").effect("layout 2")("Menu"); //value of Layout menu
    showList=[show1, show1, show2]; //dummy "show 1" at [0] for safety
    show1=[[50,50],[500,50],[50,500],[500,500]]; //array of possible positions show 1
    show2=[[100,100],[500,100],[100,500],[500,100]]; //array of possible positions show 2
    showName=showList[a]; //showName is [a] value of showList array
    showName[b]
  • Jeff Hinkle

    March 12, 2024 at 3:37 pm in reply to: After Effects mogrt force curly quotes

    Sadly, that code failed as “Invalid or unexpected token” on the .replace line. I double-checked and the Expressions are set to JavaScript. I got this very simple test code to work:

    text.sourceText.replace(“e”, “c”)

    But of course I’m not trying to replace e with c (if only life were so simple). I tried copy/pasting the (/”/g, “\u201C$&\u201D”) over the working parentheses and instantly got the fail. I also pasted a few other code snippets I found online and they all gave the same error. Are there curly vs straight quotes in the expression entry field that could cause issues?

  • Jeff Hinkle

    February 23, 2023 at 3:52 pm in reply to: Automating a text block to slide up or down

    Thanks, Dan. Your suggestion got me looking in the right direction enough I was able to stumble onto a solution. Not super-elegant but it’ll do the job. Appreciate the help!

  • Jeff Hinkle

    June 3, 2022 at 1:48 pm in reply to: sampleImage() and subtraction

    [blank stare]

    Not gonna lie, you guys lost me about two turns back. Followed most of that but some was way deeper than my piddling expression knowledge goes. Going to file it under “don’t do it like this” and go back to banging rocks together. Really appreciate you both taking a look at it! Hopefully it was a fun little brain-teaser.

    On the plus side, my boss thought the working project was basically magic, so happy ending, at least.

  • Jeff Hinkle

    June 1, 2022 at 11:00 pm in reply to: sampleImage() and subtraction

    I agree it’s baffling. I can’t see any reason for this behavior. I was able to patch around it by killing the math and just altering the array values to be what I needed, but I have no idea why it’s doing what it’s doing. Thanks for looking at it. Glad it wasn’t some super-simple mistake I made.

  • Jeff Hinkle

    May 31, 2022 at 8:06 pm in reply to: sampleImage() and subtraction

    Here is a super-streamlined version. I commented the heck out of the code to hopefully show the trouble spots.

Page 1 of 24

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