Skip to main content
carriestephens
Known Participant
July 16, 2013
Question

Export layers to file script error in Photoshop CC

  • July 16, 2013
  • 1 reply
  • 12325 views

I need help with an issue.  I also asked this in the general forum but was refered here to ask all of you amazingly talented scripting geniuses.

My issue is with the Export Layers script that comes installed with Photoshop.  I am running Windows 7 64bit - using photoshop version: creative cloud 64bit.

When i try to run File>Scripts> Export Layers to files I get this error

Error 22: Windows does not have a constructor. Line: 239 -> dlgMain = new Window ("dialog", strTitle); 

When i load Photoshop Creative Cloud 32 bit i get a different error message when trying to run the script. 

Error - 33: Internal error . line:395 ->  dligMain.pnlFileType.pnlOptions.grpJPGOptions = ...

I can't run the image processor script I also get an error with that. 

This  is an issue for me as i use this script on a daily basis.  It worked in PSCS6  

I upgraded, i dont' want to have to load an older  version of photoshop to do this task  

Thanks

Carrie 

This topic has been closed for replies.

1 reply

DBarranca
Legend
July 18, 2013

Hi,

can you try with "Tabbed view" preference on?

It was a problem with scripting back in some CS6 versions, but should be fixed in CC.

Davide

carriestephens
Known Participant
July 18, 2013

Hi Davide! 

Open Documents was checked already so, i tried with it unchecked and the error message I get now is a bit different.   Error 1: Unable to create Window - server interface error 'No component returned from CreateWidget'. Line 239 -> dlgMain = New Window("dialog" , strTitle);

Then i tried a second time and got another different message Server Interface error 'Error setting Window::backgroundColor: Actionscript error: Error: Cannot convert'.

Thanks for the try!  Anymore ideas? 

Participant
October 24, 2013

Have you tried restoring your preferences: http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-most-issues.html#Preferences

http://feedback.photoshop.com/photoshop_family/topics/help_err_22_window_does_not_have_a_constructor


Yeah, that was the first thing I did. Any way, the problem seems to have vanished all by itself since yesterday (and it wasn't just fixed by a reboot. I did that yesterday too to no effect). I'd still like a solution for this if the problem comes up again.