Skip navigation
derflow85
Currently Being Moderated

JavaScript - Closing dialogue box with NumPad Enter

Jun 22, 2012 3:48 AM

Hi there,

 

I have a JavaScript in Photoshop (CS6) that opens a dialog box with an OK and a Cancel Button.

If I hit return on the keyboard the box closes as if i clicked the OK button, if I hit the NumPad Enter key nothing happens.

 

Any ideas on how to get the NumPad Enter key to work properly on this?

(not that this is a BIG deal, but I always use the NumPad to close dialog boxes as it is next to my mouse, and I don't wanna switch between the two keys all the time...)

 

I'm on a Mac btw.

 

 

kind regards

 

derflow

 
Replies
  • Currently Being Moderated
    Jun 23, 2012 6:10 AM   in reply to derflow85

    The numerical keyboard enter key works for me with a JavaScript dialog in Photoshop (Photoshop 13.0 on Mac OS 10.6.8, also tested on 10.7.4 on a colleague’s station) – I wonder if this may not be more of an OS issue rather than one with Photoshop/JavaScript.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points