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

Markieren einer Zeile, die über Suchen eines Begriffes gefunden wurde

New Here ,
Jan 17, 2025 Jan 17, 2025

Copy link to clipboard

Copied

Hallo,

ich verwende Acrobat Reader DC Version 2024.005.20320. Ich möchte nur über Tastaturkürzel über die SendKeys-Funktion aus VBA einen Begriff in einem vorhandenen pdf-Dokument suchen, dann die gesamte Zeile, die diesen begriff enthält, über Tastaturkürzel markieren und als Text hervorheben.

Über Strg+F ist die Suche erfolgreich. Leider gelingt die Markierung der Zeile über Shift+POS1 oder SHIFT+ENDE nicht, weil der Cursor bei der Suchfunktion nicht in der Zeile platziert wird. Bricht man die Suche über ESC ab, verliert der Corsor vermutlich seinen Fokus und man kann die Zeile, in der das eben gefundene Wort steht, nicht markieren.

Über Shift+F10 und ALT+T kann man den gefundenen Begriff nur beim ersten Mal markieren und hervorheben. Sollte er ein zweites Mal vorkommen, geht diese Markierung trotz Finden der weiteren Stelle nicht mehr.

Kann mir jemand weiterhelfen???

 

TOPICS
Edit and convert PDFs , Modern Acrobat , PDF

Views

49

Translate

Translate

Report

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
Adobe Employee ,
Jan 17, 2025 Jan 17, 2025

Copy link to clipboard

Copied

Hi there

 

Hope you are doing well and thanks for  reaching out.

 

It seems like you're trying to automate highlighting an entire line containing a searched term in a PDF using VBA and keyboard shortcuts in Adobe Acrobat Reader DC. Unfortunately, the behavior you're encountering is expected due to how Acrobat handles search and text selection. Acrobat Reader's search function doesn't automatically place the cursor in the text for seamless selection beyond the found term.

 

Acrobat Reader DC doesn't provide full programmatic control for tasks like selecting and highlighting text via VBA. These features are better supported in Adobe Acrobat Pro, where JavaScript for Acrobat or the SDK can offer more robust solutions.

 

Hope this information will help.

 

 

Regards
Amal

Votes

Translate

Translate

Report

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
New Here ,
Jan 17, 2025 Jan 17, 2025

Copy link to clipboard

Copied

LATEST

Hi Amal,

thank's for your response. I was afraid of this answer. It is possible, and this solution I already got, to highlight the searched item. But the full line is not possible. That's a pity.

Thank's and best regards,

Heiko

Votes

Translate

Translate

Report

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