Photoshop (windows) Automation question

Posted on 2005-05-09
Last Modified: 2010-04-03
Does anyone know if its possible to get Photoshop to run in an unattended manner?

The Problem I have is as follows:

I want to be able to call photoshop from another application, have it perform a scripted action (the scripted action is to open a file, place text on the file and save the file with a different name and location) (Thank you Lobo)

I want to be able to change the text that is put on the file (these files are 1-bit tiffs that most other applications won't touch) by passing values to the call, as well as the saved filename.

Does anyone know if this is possible.... I know that I will have to subscribe to ASN to get the SDK and tools to do this from Adobe, but I want to make sure that what I am asking is possible before I spend the money with them.


Question by:rjayres
    LVL 5

    Accepted Solution

    Wow, you ask all the easy questions rjayres. There are two main ways to control photoshop externally, if you're a mac user u can use AppleScript, heres some info:
    If you're a windows user u have to use OLE(Object Linking and Embedding), there are many different ways to make use of OLE, you can use any of the languages/scripting languages that support it, ie. javascript(photoshop cs provides a javascipt editor and documentation in your Adobe\Photoshop CS\Scripting Guide\ folder), delphi and visual basic.
    some delphi examples:

    While all of these will allow u to automate and control photoshop, I'm not sure you that you can change the particular text in the action u have recorded. However I think u could use a complete javascript solution to achieve what you're after, however I don't have that much experience with scripting photoshop, beyond simple repetitions. Read the docs supplied with photoshop.
    LVL 17

    Expert Comment

    Hi RJ,

    Yes, I agree with Freeman; there's gotta be a way and most likely it involves either Java or VB. What I would do is upload the recorded action to a location where it can be downloaded; and then post a pointer to this question in the Java and VB Topic Areas. I'm pretty sure someone there can come up with a solution. Another option would be to email Adobe and ask them if such thing is possible using their kit.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
    In this article, I'll explain how to change the color of a selection in Photoshop. I'm sure there are a couple different ways to do this in photoshop, but this is my preferred method in Photoshop. I am using Photoshop CS6 and I will be adjusting the…
    In this tutorial viewers will learn how to correct colors in Photoshop using the Levels adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Levels: Select "OK" on the …
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now