Skip to main content
Participant
April 15, 2024
Answered

Batch conversion PDF to SVG

  • April 15, 2024
  • 1 reply
  • 1490 views

"I'm currently utilizing Adobe Illustrator for the task of converting PDF files into SVG format. With approximately 8,000 files in need of conversion, I opted to employ a script for batch processing. The JavaScript required for this batch conversion has been prepared and integrated into Illustrator successfully. However, a significant hurdle has emerged: after initiating the conversion process for each file, Illustrator prompts a dialog box that requires manual confirmation by clicking 'OK' to proceed.

 

My query pertains to circumventing this manual step, enabling the seamless conversion of all 8,000 PDF files into SVG format without necessitating manual intervention. I would greatly appreciate any insights or suggestions regarding this matter. Thank you for your assistance and time.

 

 

Correct answer CarlosCanto

do you have display alerts off?

 

app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

 

1 reply

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
April 15, 2024

do you have display alerts off?

 

app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;

 

ngsankarAuthor
Participant
April 19, 2024

Yes It worked, thank you so much.

CarlosCanto
Community Expert
Community Expert
April 19, 2024

great, don't forget to turrn alerts back ON at the end of your script, otherwise you won't see any when you're working manually