Hi all, i know it’s getting a little anoying, but i really can’t get this to work in OSX. I searched the forum for hours and tried several solutions you came up with, but no success…  ![]()
I have this script, i think lots of people are using this one, from Edward Misiuk http://homepage.mac.com/e_s_m/index_en.html. It works fabolous in OS 8.6 and Quark 4.11, but as you can guess, it doesn’t do a thing on my new G5, OS 10.3.2, Quark6.0.
property newName : ""
property DocumentPath : "Kiss:Dox:postscript_test::"
on run
	display dialog "Drag QuarkXPress documents" & return & "on me for creating PostScript from each page of them�" with icon stop
end run
on open _selection
	tell application "Finder" to �
		set _files to files of selection
	display dialog "Give a name to the postscriptfiles?" default answer "PS file"
	set newName to the text returned of result
	repeat with j from 1 to length of _files
		process_document(item j of _files)
	end repeat
end open
on process_document(processing_doc)
	tell application "QuarkXPress Passport"
		open processing_doc use doc prefs yes
		tell document 1
			set processing_pages to name of pages
			if class of processing_pages is not list then �
				set processing_pages to coerce processing_pages to list
			set doc_name to name
			set page_width to (page width as real) + 6 -- bleed*2 value
			tell print setup
				ignoring white space and case
					set adjust horizontal tile to false
					set back to front to false
					set bleed to 3.175
					set collate to false
					set data format to binary data
					set fit in area to false
					set flip horizontal to false
					set flip vertical to false
					set halftone screen to "175"
					set include blank pages to true
					set invert image to false
					set orientation to portrait
					set page gap to "0�mm"
					set page position to center horizontal
					set page sequence to all pages
					set paper offset to "0�mm"
					set paper width to "153 mm"
					set print colors as grays to true
					set print quality to rotate
					set print spreads to false
					set print thumbnails to false
					set printer type to "Generic B&W"
					set reduce or enlarge to 100
					set registration marks to centered
					set registration marks offset to "14,173�pt"
					set resolution to 2400
					set separation to false
					set tiling to off
				end ignoring
			end tell
			repeat with i from 1 to length of processing_pages
				set processing_page to item i of processing_pages
				show page processing_page
				set PS_file_path to coerce (DocumentPath & newName & processing_page) to string
				print page processing_page �
					copies 1 cover page no OPI include images �
					PostScript file PS_file_path
			end repeat
			close saving no
		end tell
	end tell
end process_document
Am i doing something wrong? Well I know i am, but i want to know WHAT :lol: Any help is more than welcome!
Thnx in advance!
Fuut