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

Particular key event using JavaScript()?

New Here ,
May 21, 2019 May 21, 2019

Copy link to clipboard

Copied

 I am using Acrobat Pro DC and making an original PDF form,  I want to jump to a certain text box if I push "ctrl + →" key. Is anyone can help or ideas? like shortcut key or  "KeyDown" event of VBA

I am using Windows

TOPICS
Acrobat SDK and JavaScript , Windows

Views

388

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

correct answers 1 Correct answer

Community Expert , May 21, 2019 May 21, 2019

Well, you can detect the control key and the keycode in a keystroke event. So yes you can do this, but it's tricky, because Acrobat overrides some keystroke combinations. If Acrobat is using it, then it won't be received by the keystroke event. Go ahead and try it to see what happens.

Votes

Translate

Translate
LEGEND ,
May 21, 2019 May 21, 2019

Copy link to clipboard

Copied

You can't really modify the default keystroke handling.

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
Community Expert ,
May 21, 2019 May 21, 2019

Copy link to clipboard

Copied

Well, you can detect the control key and the keycode in a keystroke event. So yes you can do this, but it's tricky, because Acrobat overrides some keystroke combinations. If Acrobat is using it, then it won't be received by the keystroke event. Go ahead and try it to see what happens.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
May 26, 2019 May 26, 2019

Copy link to clipboard

Copied

LATEST

Thanks

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