• Das kreative Thema des Monats Oktober wird vor allem diejenigen unter Euch besonders ansprechen, denen Do-it-yourself quasi im Blut liegt. Zeigt uns Eure Improvisationskünste oder fotografiert, was andere Leute sich so im Alltag zusammengestrickt haben. --> Zum Mitmachen bitte hier klicken

JPEG aus Indesign?

  • Ersteller Ersteller Thaddäus
  • Erstellt am Erstellt am

Thaddäus

Gast
Hi Leute

Habe mir in InDesign eine Visitenkarte gestaltet. Nun möchte ich diese als JPEG exportieren, habe aber keine Möglichkeit dazu gefunden.

Mit diesem Apple Script geht es teilweise:

Code:
tell application "Adobe InDesign CS5" 
	set ad to active document 
	set did_something to false 
	if (number of items in selection) > 0 then 
		set did_something to true 
		copy 
		set nuDoc to make document 
		tell document preferences of nuDoc 
			set page height to page height of document preferences of ad 
			set page width to page width of document preferences of ad 
		end tell 
		paste in place 
		export nuDoc format PDF type to file "Macintosh HD:temp.pdf" 
		close nuDoc saving no 
	end if 
end tell 
 
if did_something then 
	tell application "Adobe Photoshop CS5" 
		activate 
		open file "Macintosh HD:temp.pdf" as PDF with options ¬ 
			{class:PDF open options, resolution:300.0} 
	end tell 
end if

Allerdings wird dort nur der Textblock mit den Kontaktdaten an Photoshop exportiert. Kann mir da jemand weiterhelfen, sodass das gesamte Dokument als JPEG exportiert wird?