System Events Code in QuarkXpress 6.5

Dear All,
Please see below code. I am unable to click on “Options…” button. If any one knows then please let me know.


tell application "QuarkXPress Passport"
	activate
	tell application "System Events"
		tell process "QuarkXPress"
			tell menu bar 1
				tell menu bar item "File"
					tell menu "File"
						tell menu item "Export"
							tell menu "Export"
								click menu item "Layout as PDF..."
								tell window "Export as PDF"
									click "Options..."
								end tell
							end tell
						end tell
					end tell
				end tell
			end tell
		end tell
	end tell
end tell

Regards,

I don’t know if this applies to Applescript as well, but just this morning I was mapping a keyboard shortcut for Quark through the Keyboard & Mouse preference pane in System Preferences, and it wouldn’t accept three periods as an ellipse. I had to use a true ellipse, which I found was option + ;. Perhaps that is your problem as well. I’m running 10.4 and Quark 6.52