Announcement

Collapse
No announcement yet.

Scripting not being used to potential?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scripting not being used to potential?

    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 to do all the things actions could never quite get right. Anyone have some scripts they'd like to share? Ideas for scripts? Most of mine are going to be from a production angle, cropping, logo placement, that type of thing.

  • #2
    IMHO, it's a return on investment thing. I had an idea for a script, so I bought a "learn java" book and a "learn VB" book, tried really hard for a couple of weeks, then said to heck with it. It just wasn't worth it.

    Perhaps the people that already know the scripting languages and care about Photoshop are a very tiny group. It could even be that an interest in one might incline a person to be disinterested in the other (left brain/right brain, etc.).
    Learn by teaching
    Take responsibility for learning

    Comment


    • #3
      I could see that. They don't make it very easy for people to develop scripts. Some type of Script recorder would be wonderful, maybe a seperate program altogether to develop them; but Adobe just kind of said "here, anything you don't like about the program you could fix, just script it".

      I enjoy racking my brains til the wee hours of the morning trying to decipher these languages. I'm no coder by any means, but could usually figure something out by picking apart a different code, as I'm doing now. What script idea did you have?

      Originally posted by Doug Nelson
      IMHO, it's a return on investment thing. I had an idea for a script, so I bought a "learn java" book and a "learn VB" book, tried really hard for a couple of weeks, then said to heck with it. It just wasn't worth it.

      Perhaps the people that already know the scripting languages and care about Photoshop are a very tiny group. It could even be that an interest in one might incline a person to be disinterested in the other (left brain/right brain, etc.).

      Comment


      • #4
        I'll give you a bit of a philsophical answer.
        Agreed that there is an awful lot of untapped potential in scripting but it seems that the right conditions haven't yet come together.
        Although they say that Photoshop CS (I have 7.0) has moved a little further in the right direction.

        Some problems that I see:
        - Few people have BOTH sufficient programming language fluency AND sufficient Photoshop knowledge to tackle this;
        - PS scripting is not easy:
        = it does not follow EXACTLY normal javascript;
        = it is very badly documented;
        = having to use the ScriptListner is a very wierd way of doing things.
        - The user interface IN PS 7.0 is almost non-existent (but CS is different);
        - It only works in batch mode, so you can't change anything while running;
        - There is no way to preview and tweak;
        - There is no direct way to sample a pixel's channel values;
        - There is no way to set up or use brushes;
        - There is no way to mimick the non-processing actions, such as zoom;
        - Everybody who starts to use PS Scripting is soon asking "What can I do with this" because it seems that there are very few things that really NEED scripting.

        I do not want to spoil your fun - just passing on some reasons why it's been a couple of months since I last looked at scripting.

        Comments welcome - especially if it is to prove me wrong ('cuz scripts are fun and I'd like to write some more!)

        Comment


        • #5
          Originally posted by Doug Nelson
          Perhaps the people that already know the scripting languages and care about Photoshop are a very tiny group.
          Seems like we cross-posted here.

          Originally posted by okplayer
          Some type of Script recorder would be wonderful,
          the ScriptListner comes a little short of wonderful.

          Comment


          • #6
            Originally posted by byRo
            Seems like we cross-posted here.


            the ScriptListner comes a little short of wonderful.

            wow, you're right. I just noticed this plugin and tried it. I'd say "a little short" is very generous of you.

            Comment


            • #7
              I too tried this and I am a programmer (not in Java though). I even bought a book on scripting but very soon gave up as I couldn't see that you could do much more than you could do with actions. The exceptions being loops and if statements.

              It is also not easy to switch the script listener on and off - requiring a restart of PS and renaming of the plug in or you get one very very large file, even when you do 'record' the actions they still need editing.

              Christine

              Comment


              • #8
                Scripting is one of a few areas I'm genuinely jealous of Apple users. The scripting interface and language is much easier, and Photoshop even ships with an Applescript library to ease things along. Of course, once you've made your wonderful Applescript, there's only about 10 people you can share it with

                My idea wasn't necessarily for one script, I was thinking more along the lines of picking one platform (it would have to be Javascript and PScs for sharing reasons) and then starting an open development project. As new functions get developed and debugged, they'd get rolled into one app, aimed at retouchers.

                I was planning on starting with one mundane function (it was going to be a step resizer, where you could plug in the final size and how many steps to take), then add buttons and tabs as other people come up with additions. But I fell off the learning curve.

                Open development is a wonderful thing. It's how this forum software is made. There's one crew that decides the final version, and anyone that wants to can write and submit a function (in the case of the forum software, thousands submit, in our case it would probably be a dozen, tops).

                I still think this is a good idea, but someone else (a Javascript expert) will have to champion it.
                Learn by teaching
                Take responsibility for learning

                Comment


                • #9
                  Originally posted by Doug Nelson
                  My idea wasn't necessarily for one script, I was thinking more along the lines ... starting an open development project. As new functions get developed and debugged, they'd get rolled into one app, aimed at retouchers.
                  Doug,
                  You can count me in.
                  Although with PS 7.0 I get to work in the kitchen, and not up front with you guys.

                  Comment


                  • #10
                    I've always been a fan of community, open source development. This is one area I may actually be able to help in too. If I could in anyway, count me in.

                    Originally posted by Doug Nelson
                    Scripting is one of a few areas I'm genuinely jealous of Apple users. The scripting interface and language is much easier, and Photoshop even ships with an Applescript library to ease things along. Of course, once you've made your wonderful Applescript, there's only about 10 people you can share it with

                    My idea wasn't necessarily for one script, I was thinking more along the lines of picking one platform (it would have to be Javascript and PScs for sharing reasons) and then starting an open development project. As new functions get developed and debugged, they'd get rolled into one app, aimed at retouchers.

                    I was planning on starting with one mundane function (it was going to be a step resizer, where you could plug in the final size and how many steps to take), then add buttons and tabs as other people come up with additions. But I fell off the learning curve.

                    Open development is a wonderful thing. It's how this forum software is made. There's one crew that decides the final version, and anyone that wants to can write and submit a function (in the case of the forum software, thousands submit, in our case it would probably be a dozen, tops).

                    I still think this is a good idea, but someone else (a Javascript expert) will have to champion it.

                    Comment

                    Related Topics

                    Collapse

                    • 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
                    • gmitchel
                      GUI widget editor for Photoshop Scripting
                      by gmitchel
                      I wish there was a reliable GUI editor for the Javascript widgets in Photoshop's scripting support. The UI is generally the hardest part of scripting Photoshop.

                      Cheers,

                      Mitch
                      11-22-2008, 10:22 PM
                    • kingkool68
                      I need a script written can anyone help?
                      by kingkool68
                      This could be a fun project from someone looking for a little scripting experience. I have no idea what is going on when it comes to programming. So i'm hoping someone can translate my idea into code. Complete details (with pics) can be found here: http://zimarrogance.web1000.com/javascript.htm...
                      07-13-2004, 12:01 AM
                    • Lasse
                      Is this posible?
                      by Lasse
                      Hi

                      I was wondering if you could combine the eventmanger with a script that detects xmp fields.

                      My thought was that i from inside portfolio 8 or another program add for example "color_c" in a custom xmp field in the meta data. so when i open it in ps the script...
                      03-31-2006, 07:17 PM
                    • byRo
                      Speeding up script execution
                      by byRo
                      I have been doing some scripts that have nested loops to process an image.
                      Problem is, my present machine is slow and I need a lot of iterations.

                      Does anyone have general guides on how to speed up script execution?

                      Like:
                      - take out all comments;
                      -...
                      02-02-2005, 08:16 AM
                    Working...
                    X