- Registriert
- 07.08.05
- Beiträge
- 198
Ich will in ein Illustrator Dokument ein jpg platzieren.
Also ganz einfach File > Place...
Wie scripte ich das in Applescript??
Ich bekomme den Fehler "Adobe Illustrator hat einen Fehler erhalten: Klasse "raster item" kann nicht erstellt werden"
Also ganz einfach File > Place...
Wie scripte ich das in Applescript??
Code:
tell application "Adobe Illustrator"
set fileToPlace to ("Macintosh HD:Users:Philipp:Pictures:Studium:4:Netzwerke:VZ Pics:1.jpg")
set itemPosition to {100.0, 200.0}
set placedRef to make new raster item in document 1 ¬
with properties {file path:fileToPlace, position:itemPosition}
display dialog "Fertig??"
end tell
Ich bekomme den Fehler "Adobe Illustrator hat einen Fehler erhalten: Klasse "raster item" kann nicht erstellt werden"