Scripting Acrobat 5

The following code worked in 9 but not in X, any ideas?

tell application "Acrobat 5.0"
	make bookmark at end of document 1 with properties {destination page number:1, name:"Testing"}
end tell
--> Acrobat 5.0 got an error: Can't make a bookmark.

Thanks,
Jon

I don’t have Acrobat but have you tried ‘make new bookmark …’ ? Some apps require new and some don’t.

Yes, and it provides the same error.

Jon

I found out, you have to tell the document:


tell application "Acrobat 5.0"
	tell document 1
		make new bookmark
	end tell
end tell

That raised no error, but nethertheless: it did not make a new bookmark !
If I had to do this I would think about GUI Scripting…