Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

203
Views
Llenar un lote de archivos PDF usando .txt en acrobat

Sigo recibiendo el error no se puede abrir el archivo. He hecho que esto funcione solo en mac. Se supone que debe pasar por las líneas del archivo .txt y completar el pdf y luego guardarlo como los nombres. Ahorra mucho tiempo ya que hay más de 70 archivos PDF que necesito guardar. He intentado cambiar el "/" de la ruta a "", pero eso devuelve un error de sintaxis: literal de cadena sin terminar. Me pide que agregue más detalles para publicar esto, así que solo agregaré más palabras hasta que desaparezca.

 // specify the filename of the data file var fileName = "/Users/rgivens/Documents/Courseware Audit Report.txt"; // the tab delimited text file containing the data var outputDir = "/Users/rgivens/Desktop/Grade Change Form/"; // make sure this ends with a '/' var err = 0; var idx = 0; while (err == 0) { err = this.importTextData(fileName, idx); // imports the next record if (err == -1) app.alert("Error: Cannot Open File"); else if (err == -2) app.alert("Error: Cannot Load Data"); // else if (err == -3) // We are not reporting this error because it does // indicate the end of our data table: We've exhausted // all rows in the data file and therefore are done with // processing the file. Time to exit this loop. // app.alert("Error: Invalid Row"); else if (err == 1) app.alert("Warning: User Cancelled File Select"); else if (err == 2) app.alert("Warning: User Cancelled Row Select"); else if (err == 3) app.alert("Warning: Missing Data"); else if (err == 0) { this.saveAs(outputDir + this.getField("Stu Name").value + "_" + this.getField("Stu Name 1").value + ".pdf"); // saves the file idx++; } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!