Skip to main content
Chuck Uebele
Community Expert
Community Expert
February 20, 2012
Question

Simple script hangs photoshop

  • February 20, 2012
  • 2 replies
  • 1121 views

One computer that I'm working on Dell Optiplex 960 with 4gb RAM is haning when I try and run a script.  I created just a simple on to resize and image and it won't do that.  Any ideas on what to look for to get this computer in line?

This topic has been closed for replies.

2 replies

Chuck Uebele
Community Expert
Community Expert
February 22, 2012

One issue I just noticed was that I didn't define the units.  However, even without a resize, the orignial script was hanging when trying to save.  It would not run the PS supplied Image Processor script either.  Will check it out again today.  We've changed a lot of the permissions on the computer, so maybe it will work now.  I've got another computer running the same script for a time-lapse camera setup, so I might just use that computer to do all the processing and this computer that is giving me issues just to capture the image and save it to a server.

Chuck Uebele
Community Expert
Community Expert
February 20, 2012

I forgot to mention the computer is running Win XP Pro. 

JJMack
Community Expert
Community Expert
February 21, 2012

It more like you fogot to Post the script. Post the script or create a  one step Image Size action...

JJMack
Chuck Uebele
Community Expert
Community Expert
February 22, 2012

The script I want to run is more complicated than just a resize, but even a simple script like this resize script hangs photoshop:

#target photoshop

var docRef = activeDocument

docRef.resizeImage(800,undefined,150)