Photoshop CC 2015.1.2: Issue with .onChange for eddittext in JSX scripts

  • 2
  • Problem
  • Updated 2 years ago
  • Solved
  • (Edited)
I'm not sure is this was an intended change or a bug in CC 2015.1.2. I'm hoping someone from Adobe can clarify if this is a bug or an intended change to the javascript engine. If this was an intended change then I'll want to reprogram all of my scripts.

Here is what is going on (only tested on Windows 10)........

I have a bunch of scripts that use the .onChange event for edittext boxes. When a numerical value is typed in and the user presses "Enter", this would trigger the .onChange function for the script. The .onChange functions use the new edittext values to apply changes to the image. This has worked fine from CS3 all the way through 2015.1.1. In 2015.1.2, the Enter key will not trigger the .onChange event. It just makes a beeping sound.

Is the Enter key is now solely dedicated to "OK" buttons? For my scripts, they don't have OK buttons in order to avoid any "Enter" key conflicts with the edittext boxes. I have it setup to apply the changes with the edittext changes. There is then a regular button set up to close the dialog when the user is done but not any OK buttons tied to the enter key.

Anyway, I'd really appreciate some feedback to let me know if this is a bug or something that is reprogrammed to be a permanent change. That way I can redesign my scripts accordingly.

Thanks, Damon
Photo of Damon Bell

Damon Bell

  • 19 Posts
  • 1 Reply Like

Posted 3 years ago

  • 2
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14170 Posts
  • 1773 Reply Likes
Official Response