Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

209
Vistas
After Effects Scripting : Populate dropdownlist using CSV data

I want to populate simple drop down list in my script, with values that exist in csv file. How can I write that?

I have no idea as of now. I just starting to learn scripting for After Effects. Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I'm going to assume that you already know how to write the code for a user interface and jump straight to the specifics of what you asked.

You can import your csv file into your After Effects script and convert it to an array using something like this:

var csvFilepath = 'filepath/your_csv_file.csv';
var read_file = File(csvFilepath);
    read_file.open('r', undefined, undefined);
var csv = read_file.read();
var csvArr = csv.split( ',' );

Then you should be able to use csvArr in the items property of your dropdown menu code. This could look something like this:

var csvDropDown = win.add("dropdownlist", undefined, undefined, {name: "csvDropDown", items: csvArr}); 
    csvDropDown.selection = 0; 
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda