Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Reference Error: Window does not have a constructor: 324 when converting RAW files

New Here ,
Jun 13, 2018 Jun 13, 2018

I am using Photoshop CS6 and trying to convert RAW files to jpegs.  I go to File: Scripts: Image Processer and then get the Reference Error: Window does not have a constructor: 324. 

I have read similar threads and tried to reset my defaults under preferences but it did not work. 

Any help would be greatly appreciated.

Thanks

18.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 20, 2018 Jun 20, 2018

The line you show as 324 is line 325 in my CS6 Image processor script and would create the Dialog. The message you show look like the script caught an error. What does it show when you click YES Should see where the error happened....

strSorry = localize( "$$$/JavaScripts/ImageProcessor/Sorry=Sorry, something major happened and I can't continue! Would you like to see more info?" );

// Lot's of things can go wrong

// Give a generic alert and see if they want the details

catch( e ) {

                if

...
Translate
Adobe
Community Expert ,
Jun 13, 2018 Jun 13, 2018

Which CS6 Version Perpetual Mac Version 13.0.6 Perpetual Windows version 13.0.1.3 or Creative cloud CS6 version 13.1.3.  I have Creative Cloud version 13.1.2 Its Image Processor script line 324 is a comment so not the Image Processor you have. It is going to create its dialog window.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2018 Jun 20, 2018

Thanks for your response, JJ.  I believe I have the Perpetual Windows version 13.0.1.3.   I use Windows and actually purchased a hard copy disk of Photoshop CS6, not the cloud version.  As you can tell by my response, the tech side is not my forte, but I am certainly willing to try suggestions you may offer.

Thanks,

Shelley

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

What does line 324 of your "Image Processor.jsx'' script contain? I showed my CS6 version 13.1.2 script only contains a comment not any code. 

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2018 Jun 20, 2018

JJ,

I manually went in to check.... C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Presets\Scripts : Image Processor jsx    and it shows up there.  However when I click to open it, it gives me the message that "Window does not have a constructor:324" 

Not sure where to look elsewhere??

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2018 Jun 20, 2018

Okay, I was able to open it in notepad and here is what I show on line 324:     Is this what you need?

Thanks

ImaProc.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2018 Jun 20, 2018

I tried that but when I get to image processor it says: sorry.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

The line you show as 324 is line 325 in my CS6 Image processor script and would create the Dialog. The message you show look like the script caught an error. What does it show when you click YES Should see where the error happened....

strSorry = localize( "$$$/JavaScripts/ImageProcessor/Sorry=Sorry, something major happened and I can't continue! Would you like to see more info?" );

// Lot's of things can go wrong

// Give a generic alert and see if they want the details

catch( e ) {

                if ( e.number != 8007 ) { // don't report error on user cancel

                     if ( confirm( strSorry ) ) {

                          alert( e + " : " + e.line );

                    }

                 }

    gScriptResult = 'cancel'; // quit, returning 'cancel' (dont localize) makes the actions palette not record our script

}

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 20, 2018 Jun 20, 2018

When I click yes it says: Reference error: Window does not have a constructor 324

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

Your CS6 Image Processor script is different then mine by at least one line. My CS6 Image Processor script line 324 is a comment not code.  Your line 324 is my CS6 script line 325 statement: which should open the script dialog window

this.dlgMain = new Window( 'dialog', strTitle );

Which should display Image Process scripts dialog for you to use.   The script object strTitle must have some problem or object dlgMain has not been created correctly.

Make sure your Image Processor script has not been corrupted.

Here is some of what I see in my cs6 image processor script

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 22, 2018 Jun 22, 2018

JJ,

Thanks for your consideration in helping me.... as I said, the technical end of this is way beyond me... I can follow directions but I don't understand the processing end of it...

Is there something you would recommend for me to do to solve this problem?  For instance, how would I go about checking if my processor has been corrupted?  I can't even really get into it.

By the way, I did get the files converted by doing it in a round-about way.  I would certainly like to use the avenue that is streamlined and created for it, but have an alternative method, which makes me wonder also about if the image processor is really not working--or just that path? 

Thanks again.

Shelley

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

You need to open the script in a text editor.  It looks like you are running the scripu and it is failing in line 324.  To run the script properly you should use CS6 menu File>Scripts>Image Processor...  .  The Image Processior script for CS6 should then open its Dialog for you to use.Capture.jpg

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 22, 2018 Jun 22, 2018

We have different CS6 versions and we see that My CS6 version Image Processor script has a least one more line of code then your CS6 Image Processor script.

Your line 324 is line 325 in my Image Processor script.   My line 325 is exactly the same as your line  324 and my line works where your line through a script error.  Why is this.  Is your script missing a line of code or is the file corrupt. The line should open the script dialog window.

If I were you I would move your  "Image Processor.jsx" out of  CS6 Presets\scripts\  to someplace for safe keeping.  Then I would Install your CS6 installation media on top of your current CS6 installation.  That should back level CS6 to version 13.0.    You should them  use CS6 menu Help>Updated and install the CS6 updates.  CS6 is very unstable without its updated.  Once CS6 is back up to your current  level.  Compare its "Image Processor.jsx" to the one you moved out to see if the are the same.  Or simple try to use the Image Processor script.  See if its dialog windows opens up.  See if it works the Image Processor script should work. For some reason the one you currently have installed fails to open it dialog window.  If all scripts fail to open their dialog windows it could be a problem with ScruptUI installed in CS6 on you system.  However you only seem to be having a problem with Image Processor script.

JJMack
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 22, 2018 Jun 22, 2018
LATEST

Okay, Thanks.

Wow, this is all very overwhelming on top of all the things I need to do that are actually my business obligations!  You've been very generous with your time and trouble shooting.  I appreciate it greatly!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines