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.

vincem120Author
Participating Frequently
April 11, 2013

Deleting lines seldom fixes problems unless you replace that line with correct code that does the same thing because more often than not that line does something that the rest of the script depends on.

If you want to post the script or a link to where it can be downloaded I will be glad to have a look at it to see if I can spot the problem.


Yes, deleting lines is not a magic bullet, that's why I was smiling about it...

I'm a bit puzzled now; got back home yesterday and tried for 15 minutes to replicate my previous issue. Now the script just fails to run after the first user input, but I can't get it to crash PS again. Beginning to wonder if I previously had a fever. I did not have time to do a line by line execution.

Here is the script if you feel like playing with it: https://dl.dropboxusercontent.com/u/1179975/ffdd/FarrarFocus-Batch.jsx