Skip to main content
Inspiring
September 6, 2020
Answered

Automatisch svg in pdf umwandeln

  • September 6, 2020
  • 4 replies
  • 1329 views

Hallo

Über die Windows Kommandozeile ( Terminal) kann ich eine Datei in Illustrator öffnen:

Illustrator Datei.svg

Jetzt möchte ich, das zusätzlich nach dem Öffnen automatisch ein Skript oder eine Aktion ausgeführt wird. Ziel ist es, die Datei als PDF zu speichern und Illustrator zu schließen.

This topic has been closed for replies.
Correct answer avg2pdf

Super, das funktioniert perfekt.

4 replies

avg2pdfAuthorCorrect answer
Inspiring
October 2, 2020

Super, das funktioniert perfekt.

CarlosCanto
Community Expert
Community Expert
October 1, 2020

no, you don't open a file, you "open" or run a script via command line. Then your script will open the file and save to pdf.

 

this is the command you need on Windows

"C:\Program Files\Full Path to your illustrator version\Illustrator.exe" "C:\Full Path to your script\your script.jsx"

avg2pdfAuthor
Inspiring
October 1, 2020

That is a very good hint. Now, I have created an action in illustrator. Do you know, how to start the action "pdf" attached with the help of a script.

CarlosCanto
Community Expert
Community Expert
September 7, 2020

you would need to start the process by running the script from Command Line, then the script will open the svg file, save as pdf and close illustrator

avg2pdfAuthor
Inspiring
September 26, 2020

Thank you for your reply. This is excat the solution I am looking for.

Now I can start the file from the command line. Then I have to manually start the action to save the file as pdf.

 

Do you know a command of the windowsshell to open the file and to start the action automatically?

Kurt Gold
Community Expert
Community Expert
September 6, 2020

You may create an action that saves as .pdf and use that action as part of an Illustrator Batch process (see Actions palette).

avg2pdfAuthor
Inspiring
September 26, 2020

Now I can start the file from the command line. Then I have to manually start the action to save the file as pdf.

 

Do you know a command of the window shell to open the file and to start the action automatically?