Adobe Acrobat 8.1.3 Set and Get Info

Hello

I have to set some info fields of a PDF document via AppleScript. The proble is, that I’m not able to use German “Umlaute” (äöü).


tell application "Adobe Acrobat Professional"
	activate
	set theTitle to "äöü" as text -- as unicode text / as international text
	set info of document 1 key "Title" value theTitle
end tell

This example results in the string “−ıŁ” inside the documents info window.

Who has some suggestions on how to fix this encoding (?) problem

Thanks in advance

Alex

Try to use satimage.osax with

set mTitle to convert to Windows mTitle

That will do the trick most of the time. There are still a few characters that aren’t converted correctly but it’s surely better than without it.