Skip to main content
JunpeiTokunaga
Participant
May 21, 2019
Answered

Particular key event using JavaScript()?

  • May 21, 2019
  • 1 reply
  • 837 views

 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

This topic has been closed for replies.
Correct answer Thom Parker

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.

1 reply

Legend
May 21, 2019

You can't really modify the default keystroke handling.

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
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 PDFScriptingUse the Acrobat JavaScript Reference early and often
JunpeiTokunaga
Participant
May 26, 2019

Thanks