Copy link to clipboard
Copied
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.
Super, das funktioniert perfekt.
Copy link to clipboard
Copied
You may create an action that saves as .pdf and use that action as part of an Illustrator Batch process (see Actions palette).
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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"
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Super, das funktioniert perfekt.
Copy link to clipboard
Copied
Super, das funktioniert perfekt.