Skip to main content
Participant
July 27, 2011
Question

Open photoshop file in "silent mode"

  • July 27, 2011
  • 3 replies
  • 3554 views

Is there a way to open a photoshop document in some sort of "silent" mode, where the GUI doesn't actually launch?  I am looking to open/edit/save changes to a .psd without the UI ever being launched.  Using the adobe API & scripting I am able to accomlish all of the files changes I want, I would just prefer if all the work is done behind the scenes without the GUI ben launched.  Any assitance would be appreciated!

This topic has been closed for replies.

3 replies

DBarranca
Legend
September 12, 2013

There is a reference to a "viewLessDocument" in CreateImageStack.jsx

See also the topic on PS-Scripts here.

Davide

www.davidebarranca.com

Inspiring
July 27, 2011

This is possible when using the COM API:

$ps = new COM("Photoshop.Application.".$version) or die ("Failed to initialize.");

$ps->Visible = false;

$ps->DisplayDialogs = 3;

But I never used it in production environment, so I can't say that it is as stable as Javascript.

Regards, markus

September 11, 2011

Your bang on the money markus.

It's works out well.

For anyone using this code though.

When you create the object "photoshop" it does fire off and you do see the logo.

Then after it loads it is then hidden.

vbcode:

        Dim objApp

        objApp = CreateObject("Photoshop.Application")
        objApp.visible = false

JJMack
Community Expert
Community Expert
July 27, 2011

I don't think that is posible however you may be able to minmize Photoshop while the script runs and see noothing. When your CPU useage drops the script is most likely done.

JJMack