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

165
Views
Photoshop JavaScript: ¿Eliminar todas las guías?

Solo puedo encontrar una manera de eliminar una sola guía del diseño:

 activeDocument.guides[0].remove();

Esto apunta a una sola guía usando un índice. ¿No hay un menú al que pueda llamar para borrar todas las guías a la vez?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Puede usar activeDocument.guides.removeAll()

about 4 years ago · Juan Pablo Isaza Report

0

Tradicionalmente, había que quitar las guías en orden inverso:

 // function CLEAR ALL GUIDES () // ---------------------------------------------------------------- function clear_all_guides() { var numGuides = activeDocument.guides.length; if (numGuides == 0) return; // Delete 'em in reverse order for (var i = numGuides -1; i >=0; i--) { app.activeDocument.guides[i].remove(); } }

que es lo mismo que

 var idclearAllGuides = stringIDToTypeID( "clearAllGuides" ); executeAction( idclearAllGuides, undefined, DialogModes.NO );
about 4 years ago · Juan Pablo Isaza Report
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!