Hide Adobe Acrobat while converting an PDF into an EPS

Hi There,

I’d like to hide Adobe Acrobat 9.0 Pro while its converting an PDF into an EPS. I tried the following:



	tell application "Adobe Acrobat Pro"

	tell application "System Events" to set visible of (first process whose name begins with "Acrobat") to false
					
	open x with invisible
save document 1 to file eps_file using EPS Conversion "com.adobe.acrobat.eps"
tell application "System Events" to set visible of (first process whose name begins with "Acrobat") to false
	close document 1 without saving
					
	end tell


But I’ve got always an Error. Can somebody help me?

Cheers & Thank you very much!
Marth

Acrobat has a visibility property that you can set. The process will still be active but it does NOT show the pdf document window. You do however need to change some terminology you can’t refer to active document. You should not use system events where its not needed.