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

Particular key event using JavaScript()?

New Here ,
May 21, 2019 May 21, 2019

 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
828
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

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.

Translate
LEGEND ,
May 21, 2019 May 21, 2019

You can't really modify the default keystroke handling.

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
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.

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

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

Thanks

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