No announcement yet.

Active Document - Photoshop 5.5

  • Filter
  • Time
  • Show
Clear All
new posts

  • Active Document - Photoshop 5.5

    I'm stuck,

    I'm trying to get the active document from Photoshop 5.5, I've read through the documents provided by Adobe, linked through here(thanks), but can't seem to get it to work. The code is done for Python, and it works up to the point of printing the requested document.
    import win32com.client

    app = win32com.client.Dispatch("Photoshop.Application")

    print app.ActiveDocument<---This line doesn't work
    I wonder if anyone else has be able to get the active document from 5.5

    Thanks in advance

  • #2
    In addition to other replies you get here, if you haven't yet, I'd sure consider posting this question on the PS for Windows or Scriptiong forums at

    I've seen replies to similar posts there by some pretty sharp folks who are into this level of under-the-covers magic.



    • #3
      Thanks for the advice, I sent the post their way


      Related Topics


      • chet webley
        Adobe Certified Expert
        by chet webley
        Hi Guys,

        I'm considering taking the A.C.E. exams in Photoshop and Illustrator. If that goes well, I'm also thinking about taking it further and going for an Adobe Certified Specialist accreditation in print. I've done a small amount of research on the Adobe site, including trying...
        08-08-2011, 06:30 AM
      • v.bampton
        Any tuturials?
        by v.bampton
        I'm quite interested in photoshop's scripting capabilities, as actions don't have quite the flexibility I need. I don't have any programming experience, although I have gathered from another board that VBScript is what I need to use for what I have in mind (can't move/delete files using java? correct?)....
        12-10-2004, 01:39 PM
      • franko60
        Photoshop problem - figure someone here might know
        by franko60
        My apologies for posting in this forum, but no-one knowledgeable seems to read the Software forum where I originall posted this. And I need to get it sorted.

        Photoshop CS5 has decided to suddenly switch all my menu flyouts from the right side of the menu (the one with the little arrow...
        09-21-2011, 10:48 PM
      • Rogue
        Photoshop Keeps Craping Out
        by Rogue
        When I fire up ps, while it is loading up mid way through it fails and disappears.

        I have restarted my comp a few times even shutting it down for 5 mins, but it didnt help. What is my prob?

        Im running it on a pc. Never had probs in the past.
        06-09-2004, 01:44 PM
      • pjstaley
        Photoshop annotations
        by pjstaley
        I've tried clicking once and clicking twice and right clicking and nothing works. How in the world do you get a Photoshop annotation to open so you can see the contents?
        06-10-2007, 02:41 PM