Adobe Illustrator Multipage PDF's

Hi,
I am trying to open page 1 of a multipage PDF in Illustrator CS. I see in the documentation that this is possible but I can’t seem to get the syntax correct in order for this to work correctly. I am activating this script via Folder Actions so I don’t want to have any user interaction. This is one of the many things I have tried so far.


--This script is just a test I was using to try and get it to open multi-page PDf's
tell application "Illustrator CS"
	activate
	set user interaction level to never interact
	set myPath to "Macintosh HD:Users:mtsmith:Desktop:Downloads:Quote # 3000.PDF" as string -- using this file as a test document
	if myPath ends with ".pdf" then
		open alias myPath with options {class:PDF options, page:1}
	end if
end tell

If anybody has any ideas I would really appreciate it.
-Matt

you could try something like "

set user interaction to none

", just before you specify the options for the open alias. This may work, I have no idea, but I have some scripts where I automate pdf creation and do not want to confirm certain issue, and i use this comment. Good luck!:slight_smile: