Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

script to pdf convert all text to outline

Participant ,
Jul 15, 2024 Jul 15, 2024

hello,  do you know how to  convert all text to outline in Adobe Acrobat with applescript, thanks

TOPICS
PDF
369
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Participant ,
Jul 17, 2024 Jul 17, 2024
LATEST

I got a tip from somewhere else, the following should be OK, I hope it is useful to everyone

set myFolder to (((path to desktop) as text) & "thScript:temp:")

tell application "Finder"

set pdfFileName to "test.pdf"

set filePath to myFolder & pdfFileName

tell application "Adobe Acrobat"

activate

open file filePath

tell document 1

do script "var oProfile = Preflight.getProfileByName('Convert fonts to outlines');
this.preflight(oProfile);"

end tell

save document pdfFileName to file filePath

close document 1 saving no

end tell

end tell

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 16, 2024 Jul 16, 2024

1

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 17, 2024 Jul 17, 2024

2

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 17, 2024 Jul 17, 2024
LATEST

I got a tip from somewhere else, the following should be OK, I hope it is useful to everyone

set myFolder to (((path to desktop) as text) & "thScript:temp:")

tell application "Finder"

set pdfFileName to "test.pdf"

set filePath to myFolder & pdfFileName

tell application "Adobe Acrobat"

activate

open file filePath

tell document 1

do script "var oProfile = Preflight.getProfileByName('Convert fonts to outlines');
this.preflight(oProfile);"

end tell

save document pdfFileName to file filePath

close document 1 saving no

end tell

end tell

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines