No announcement yet.

PS7 scripting

  • Filter
  • Time
  • Show
Clear All
new posts

  • PS7 scripting

    Does anyone have any PS7 scripting resources, links, tips, tutorials, general wisdom, etc., to share?
    Learn by teaching
    Take responsibility for learning

  • #2
    Did you notice the PS7 scripting forum at I glanced at it, but didn't read any of the threads.


    • #3
      I glanced at the Adobe PS7 scripting forum just a little while ago and I have to say that not one post made any sense to me at all. (Well, perhaps that's an over statement, but it made me realize that I have a HUGE learning curve.

      A couple of people in that forum suggested looking at the Adobe documentation that comes with the plug-in for starters, but I haven't tried that yet. It all looks Greek to me!



      • #4
        what does PS7 scripting do?


        • #5
          As I understand it, PS scripting allows you to automate pretty much anything you want to in PS, way beyond the boundaries of actions. You can even make calls to outside programs, OS funtions, etc.

          The downside is its genuine, old-school coding. There are 3 flavors:

          Visual Basic - Win-specific
          Applescript - Mac-specific
          Javascript - OS-independent (unless you call outside programs)

          Since I know none of these (I did some VB programming several years ago, but I've forgotten all of it by now) I have the luxury of ignorance, and can say that the Javascript option sounds like the best option, since then you can share without having to specify how/where/and with what it will run.
          Learn by teaching
          Take responsibility for learning


          • #6
            Everything you need (yeah, right) is located here:

            Scroll down to Photoshop, pick your OS, and download the scripting plugin and documentation.
            Learn by teaching
            Take responsibility for learning


            • #7

              Photoshop 7.0 Scripting plug-in v.1.0.1

              Automate repetitive tasks and key workflows in Adobe Photoshop using rich scripting support. Write [program] scripts using JavaScript or Microsoft Visual Basic.
              It's like the next step up from Photoshop Actions, but more flexible and fewer limitations. If you can think it, you can probably program it. It would require a fair amount of programming skill.

              If you're familiar with Microsoft Visual Basic (VB) or Visual Basic for Applications (VBA), it wouldn't be too big of stretch to get your arms around this functionality.

              But I ask... "Who has the time?" "Who has the need?"

              DOUG: Did you have some particular tasks in mind that you wanted to (fully) automate?
              Last edited by DannyRaphael; 06-11-2002, 01:02 AM.


              • #8
                Dan: Yes, but for now I'll just have to keep attracting users and adding site features the old-fashioned way

                Btw, I just read in the Adobe scripting forum that any COM-aware language can be used for Windows scripting, not just Javascript. Evidently this includes several, including Perl.
                Learn by teaching
                Take responsibility for learning


                • #9

                  Just downloaded the plugin. It includes a folder consisting of several .pdf documentation files. If you're up on Visual Basic or Javascript (or as Doug noted, possibly Perl), the docs would most likely include definitions of objects, layers, containers and all that sort of stuff specific to the PS7 environment.

                  They would be a gold mine to a good programmer, but a horror show to a programmer hack like me!



                  • #10
                    I can't even get my web site built using the easy tools, so I doubt I'll ever have a need for it.


                    • #11
                      Danny, I know the documentation is there, but I haven't programmed in seven years - and the last language I used was C (not even C++). Perl was just starting to become popular - and I hadn't even heard of Java Script. So, if I decide to learn this, it will pretty much be from scratch. And I'm inclined to learn Java if for no other reason I can use it on websites too. (Oh, and it apparently uses C-like syntax.)

                      The only "downside" to using Java (from the Adobe forums) is:
                      Although Javascript does allow cross platform scripting it doesn't allow cross-application scripting so those groovy scripts to read in your Excel tables and draw graphs or scripts to integrate Photoshop and Illustrator will have to be done in Applescript and/or Visual Basic.
                      I don't think I have a need for that functionality, so I guess I'll cross that bridge when I come to it.



                      • #12

                        I know what you mean. The documentation in the PS7 script download is only 1/2 of the story. It would describe the PS7 environment, variables, parameters, etc.

                        The "rest of the story" would be the general programming / debugging skills (which you have) + deciphering / absorbing the specific syntax, testing, debugging skills and all that with yet another new language, Java, VB or Perl.

                        At the end of the tunnel would be ultimate flexibility, automation possibilities. 'Twould be a long, long road for me. Not sure I'd go there unless the pot of gold at the end wuz real big.

                        I'll most likely keep flailing with (and cussing at) actions.


                        DOUG: Why would you want to engage in PS7 specific scripting if you're looking for site maintenance tools/automation.


                        • #13
                          I just found this thread by accident. I was going to post the same question Doug opened with.

                          I'm really surprised there isn't more out on the net regarding this.
                          I've been playing around with the Java scripts, but I have no programming knowledge. I would love to learn Java, but who has time?
                          Right now my style of learning is to experiment with the samples given and hack them to see what I can get them to do.

                          Anyone here using scripts?
                          I can't imagine that someone doing artwork or restorations would really need the automation....although, it would come in handy to frame and watermark a large number of files.

                          Anyone have any uses for scripting?


                          • #14
                            Additional resources I'm aware of, plus a repost of the Adobe Scripting Forum link:

                            * Photoshop Scripting forum at[email protected]

                            * Yahoo group:

                            * Script Builder: (CS only)

                            * Adobe Scripting: Your Visual Blueprint to Scripting in Photoshop and Illustrator, ISBN: 0764524550.

                            Here's a couple example scripts I've read about. (Like Doug, I happily left VBA behind several years ago):
                            * Adding the filename, date, time and/or other info (e.g., EXIF data) to a batch of images

                            * Plowing through a folder of images and, depending on orientation, rotate portrait oriented pics 90 degrees so the resulting folder has all landscape images

                            * Adding photographer name, copyright, or other text and dynamically size it according to image size, e.g., 12 pt for 4"x6", 14 pt for 5"x7", etc.

                            Last edited by DannyRaphael; 10-01-2004, 02:47 PM. Reason: Link for Script Builder updated.


                            • #15
                              Do you have the script or link for the conditional Rotation of a folder of images?


                              Related Topics


                              • Bob Mc
                                Scripting Tutorials
                                by Bob Mc
                                Don't know whether this is old or new news ... but I found a site that has Photoshop Tutorials - including one about scripting.

                                I doubt if I'll ever get into that techie stuff - but perhaps someone else will benefit from it.


                                12-01-2005, 11:25 AM
                              • stewartbootles
                                Photoshop Script Tutorials
                                by stewartbootles
                                Hi does anyone know of any websites which have photoshop script writing Tutorials
                                07-06-2003, 01:35 PM
                              • 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
                              • ericsmeets
                                read from a textfile
                                by ericsmeets
                                Hi, I'm wondering how you can read the text written in a edittext field and then put it in a variable?

                                I hope someone knows cause what I'm trying to make is a script which makes a textlayer and in that textlayer comes what the user put in the edittextfield.

                                Thanks eric
                                05-04-2005, 12:58 PM
                              • okplayer
                                Scripting not being used to potential?
                                by okplayer
                                Does anyone else think that PS Scripting should be so much more popular than it seems to be? Maybe because it's a new idea in Photoshop, but scripts could be so powerful, yet no one seems to be taking advantage of them. I plan on devoting a lot of my time to them in the next couple weeks to get them...
                                11-24-2004, 07:03 PM