4 Replies Latest reply on Apr 3, 2011 7:06 AM by JJMack

    Want Dialog box

    sasientry

      Dialog Box.jpg

      pls help me

       

      i want also add some square and 3/4 script

        • 1. Re: Want Dialog box
          Muppet Mark-QAl63s Level 4

          And I thought my scriptUI had a long way to go… You beat me hands down…

          • 2. Re: Want Dialog box
            sasientry Level 1

            Hi guys,

             

             

            I dont have much knowledge in javascript

             

            i want dialog box  for my individual work

             

            when i work my image i have two script one for square and one for 3 by 4

             

            it was too late for select one by one and apply images

             

            1 .so i want dialog box when i click Square, square script will run and when i click 3/4, 3/4 script will run

             

            2 .i also want in dialog box which side i want canvas like center,right corner, left corner,top corner, and bottom corner

             

            3 .minimum canvas size  75px all side

             

            4 .i also want to run mutiple images, so i want input folder option

            • 3. Re: Want Dialog box
              c.pfaffenbichler Level 9

              I recommend you check out »JavaScript Tools Guide CS5.pdf« which should reside in one of the Folders beside ExtendScript Toolkit.app.

               

              Some of what you seem to want would be mutually exclusive so it would probably best be achieved with Radiobuttons.

              The file »SnpCreateCheckBoxRadioButtons.jsx« in the Samples may be a starting point for you.

              • 4. Re: Want Dialog box
                JJMack Most Valuable Participant

                You will need to learn to do scripting or do what you want manually.  Actions are are easier then Scripts but can not use logic however like action can use script, scripts can use action.  There are Script that have been written to aid the Action creator to add logic into their action work flow.  Search the Web for Siva's Photoshop Conditional Action.jsx look at the Image Processor script that come with Photoshop and at tools on http://www.ps-scripts.com web site. Also look at my crafting actions package http://www.mouseprints.net/old/dpr/JJMacksCraftingActions.zip

                Contains:

                Action Actions Palette Tips.txt

                Action Creation Guidelines.txt

                Action Dealing with Image Size.txt

                Action Enhanced via Scripted Photoshop Functions.txt

                CraftedActions.atn Sample Action set includes an example Watermarking action http://www.mouseprints.net/old/dpr/WM900x600.jpg

                Sample Actions.txt Photoshop CraftedActions set saved as a text file. This file has some additional comments I inserted describing how the actions work.

                12 Scripts for actions