Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Reading internal source text.

  • Obed Ampong

    August 16, 2018 at 12:16 pm

    WOW, It worked!
    Thank you so much!

    Regards,

    Obed

  • Obed Ampong

    August 19, 2018 at 2:17 pm

    Hi Dan,
    Please, I have some issues with the expression for comp10, 20, 30, etc
    It reads Data File: Either index or match name must be present, both are missing at path item 0….
    Please, could you help me out?
    Below is my data sample
    comp1,comp2,comp3,comp4,comp5,comp6,comp7,comp8,comp9,comp10,comp11,comp12,comp13,comp14,comp15,comp16,comp17,comp18,comp19,comp20,comp21,comp22,comp23,comp24,comp25,comp26,comp27,comp28,comp29,comp30,comp31,comp32,comp33,comp34,comp35,comp36,comp37,comp38,comp39,comp40,comp41,comp42,comp43,comp44,comp45,comp46,comp47,comp48,comp49,comp50,……
    1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1961,1962,1963,1964,1965,1966,1967,1968,1969,1970,1971,1972,1973,1974,1975,1976,1977,1978,1979,1980,1981,1982,1983,1984,1985,1986,1987,1988…….,

    Thanks
    Regards,
    Obed

  • Dan Ebberts

    August 19, 2018 at 3:01 pm

    Try it this way:


    idx = parseInt(thisComp.name.match(/\d+/),10)-1;
    footage("test.csv").dataValue([idx,0])

    Dan

  • Obed Ampong

    August 19, 2018 at 3:50 pm

    thanks, it worked.

    regards,
    Obed

Page 2 of 2

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