Skip to main content
Inspiring
September 17, 2010
Answered

Computer Slowness after Script

  • September 17, 2010
  • 2 replies
  • 595 views

I wrote a script that saves a file on the desktop and a couple of places on the server.  I've got 15 people in my office using it and suddenly everyone is complaining of computer slowness.  The action used to take 10-15 seconds to run, and now takes up to 3 minutes. But more than that, everyone's computers are just generaly being VERY slow

Has anyone seen this?  Is the action storing somehign on the computer that is slowing it down?  Is there any way I can write somehting in the code to fix this??

Thank you

This topic has been closed for replies.
Correct answer xbytor2

You may want to save the file locally then write the copy commands to a batch file that you can then execute from your script.

Error handling is a bit more complicated, but it avoids any potential problems with PS/JS and server I/O.

2 replies

Chris Cox
Legend
September 17, 2010

Most likely this is because of using files off the server -- now the OS and Photoshop are checking the server for status of that file.  If the server is heavily loaded, slow, or on a slow network, that can take extra time.  Combine a few of those factors and you probably get the slowdown you are reporting.

Try resetting Photoshop's preferences on one of the affected systems and see if the problem goes away.

If so, the problem was opening a file off a slow server -- and you just cleared the recent files list that was checking the status of that file on the server.

xbytor2Correct answer
Inspiring
September 17, 2010

You may want to save the file locally then write the copy commands to a batch file that you can then execute from your script.

Error handling is a bit more complicated, but it avoids any potential problems with PS/JS and server I/O.