Skip to main content
Participating Frequently
April 10, 2013
Question

JavaScript CS4 vs CS6

  • April 10, 2013
  • 1 reply
  • 1579 views

I have an old awesome HDR blending script that was written for Photoshop CS3-CS4 but will not run on CS6. Not being a programmer, I still would like to try and upgrade the script, but don't know where to start. Are there major differences in the JavaScript scripting between the two versions?

This topic has been closed for replies.

1 reply

Inspiring
April 10, 2013

Is there any error message? It could be something as simple as a poorly planned version check that didn't take future version in to account.

For the most part, scripts written for older versions work fine in newer versions. The main differences in scripting between versions are new features of newer versions so normally a problem of a script not working in older versions. Execptions being dropped features and new scripting bugs.

I think there were changes in HDR between CS4 and CS6 but it is hard to say, without seeing the script, why it will not run in CS6.

vincem120Author
Participating Frequently
April 10, 2013

Hi Michael,

Thank you very much for your reply! The script does not actually use Photoshop's native HDR feature, but rather blends bracketed RAW images into a single RAW file with an extended tonal range, so I think I'm clear of that possibility.

There is no error message, it actually crashes the program. I will try and verify the version check if any, just in case, but I fear it is more serious. Otherwise, knowing that there aren't that many changes and scripts are normally forward-compatible is encouraging. I'll look for a bug or a dropped feature, and hopefully get help from the toolkit.

Inspiring
April 10, 2013

If you use ExtendScript Toolkit you can run the script one line at a time. That may give you a better idea of where the problem is.

The dropped features I was thinking about would be things like the webGallery, picturePackage, and PDF that were dropped in CS4. Most scripting bugs throw error messages but don't crash Photoshop.

Does it actually crash/close Photoshop or just causes Photoshop to stop responding?