Skip to main content
Participant
May 4, 2011
Question

Error 22

  • May 4, 2011
  • 2 replies
  • 5919 views

Hi, I've been trying to create a gif but I am having issues.

Whenever I try to use this: "File > Scripts > Load Files Into Stack" it comes up with this error:

"Error 22: Windows does not have a constructor. Line 388 -> var w = new Window(res);"

I have tried deleting the settings when I start up Photoshop CS5, but it does not work. Can somebody help me please?

Thanks in advance. 

This topic has been closed for replies.

2 replies

Inspiring
May 4, 2011

The error is coming from  Presets/Scripts/Stack Scripts Only/LatteUI.jsx. It converts .exv files into ScriptUI resources then passes it to the Window constructor.  One of the files in that folder may be corrupted. The simplest thing may be a reinstall of PS if you can't figure out what file is corrupted.

That would also take care of other potential sources of the error.

-X

JJMack
Community Expert
Community Expert
May 4, 2011

What Photoshop Version? In my 32bit CS5 preset script "C:\Program Files\Adobe\Adobe Photoshop CS5\Presets\Scripts\Load Files into Stack.jsx" is only 128 line long.... And there is no line "var w = new Window(res);" to be found in it. The same goes for the 64bit CS5 version...

JJMack