Photoshop tools edit in script

Hi friends,
I want to create photoshop plugin, is that is possible to edit in photoshop tools script, like edit in brush tool?
if there is any help please thanks in advance
thanks
Rahul

Rahul Kathet wrote:
I didnt get any response from SDK forum, I am getting confuse how to do that
You just have to post a question like you did here.
You may have to wait a day or two – it's not as busy there as it is here.

Similar Messages

  • Photoshop plug-in or scripting

    Dear Photoshop experts,
    I have a very specific question I'd like to ask. We manufacture photo robots and our software can control the robots, strobes and cameras. We'd like to implement tools to edit photographs as well. Photoshop seems to be the obvious choice. We need to use tools from both the Camera Raw (to convert raw files) and Photoshop (for advanced techniques like freemasking or chromakey masking). Questions are:
    1) Is it even possible to implement Photoshop tools into our application (with valid Photoshop license of course)
    2) Is better way to control Photoshop in the background from our app by scripts or write our app as a plug-in to integrate in Photoshop?
    I'll be happy to provide you with more information if anyone is interested.
    Cheers, Honza.

    Is there a way to run scripts from our application, have Photoshop work in the background and return the edited image in preview window inside our application?
    Photoshop really doesn't work in background mode. What you can do is record an Action that calls your script then create a Droplet from the Action. Then, you can pass the file/files/folder (I don't remember which) an a parameter to the Droplet on a command line via a system() or exec() all from your app. The Droplet returns immediately and the script is run asynchronously to the caller. You'd have to work out a synchronization mechanism like creating file indicating that the script has completed processing a file.
    Where should we look for someone capable of doing that?
    Ask around here or at ps-scripts.com. There people that do this kind of contact work. I've retired from the work, though, I'm rewatching all of MST3K again.

  • Is there an Eclipse Plugin/API for Photoshop .jsx editing?

    Like the title asks... does anyone know if there is a plugin available for Eclipse that will assist with the editing of Photoshop .jsx script files?  The ESTK that comes with Photoshop isn't exactly the greatest tool for editing the script files and I've actually found it to be more hinderance than help in some cases.  I've been using Eclipse for my recent adventure into Java programming and it's been a great help for not only learning Java, but also for speeding up the writing of known code as well.  I have found a couple of generic JavaScript plugins, but nothing that has the Photoshop API.  Anyone know of any?

    Interesting.  Your post got me looking again and I found something from Adobe called Flex Builder 3.  I apparently don't have the right version of Eclipse to use it properly, but it did lead me to the Eclipse JS editor which, while not exactly what I'm looking for, it is more helpful than the ESTK as far as navigation.  I can simply select a variable and it highlights all instances of that variable in the function(s) it affects (just like it does in regular Java).  This in itself makes it more useful to me than the ESTK as my scripts seem to be becoming increasingly elaborate.  Additionally, it helps keep track of the variables and alert me if they are unused or improperly initialized (such as initializing it inside a loop then calling it outside of it.
    While not exactly what I was hoping for, it is still an improvement over how I have been doing it, so I'll probably end up doing like you do, DBarranca, and write/edit in one program then copy/paste to ESTK for the debugging.  Thanks for the idea at least!

  • How to create a "global" variable in Photoshop (or let a script "sleep" in the background)

    I tried to toggle the select-tool and the move-tool with a script. Seems simple enough. Something like:
    var toggleState;
    if (toggleState == true){
        activateMoveTool();
        toggleState = false;
    if (toggleState == false){
        activateSelectTool();
        toggleState = true;
    should do it (well, beside the "activateMoveTool" and "activateSelectTool" functions, which are not a problem).
    But how to rember the variable toggleState? I tried to make it global, but did not find a way. Is there any?
    Or could I just have an objekt(or funktion) running in the background that would keep track of variables like that one?

    Not having X's programing background I think of an action reference as something that tells Photoshop what to do. And yes it is like a little action that you write instead of record. For example the code that I and X posted could also be written like this
    var ref = new ActionReference();
    ref.putProperty( charIDToTypeID( "Prpr" ), stringIDToTypeID('tool') );// what key to get
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );// where to get it from
    var cTool = executeActionGet(ref);// in this case returns a one key descriptor
    var cToolTypeID =  cTool.getEnumerationType( stringIDToTypeID('tool') );// get the value of that key
    alert( typeIDToStringID( cToolTypeID ) );// make that value readable
    Most of the ordinals you will see will be target as Photoshop likes whatever you are working on to be active. You sometimes see next or previous. I can't recall seeing a 'normal ordinal' like first or second.
    There is not much in the way of documentation. Most of what I know comes from looking at the scriptlistner log, xtools and X himself, and a little bit of code I put together for exploring action descriptors and action list. It's not as nice as X's getterdemo but works more the way I think. It sends it's output to the ESTK console window
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref)
    var c = desc.count ;
    //for(var i=0;i<c;i++){ // to enumerate list
    //  $.writeln('Key '+i+' = '+desc.getType(i))
    for(var i=0;i<c;i++){ //enumerate descriptor's keys
      $.writeln('Key '+i+' = '+typeIDToStringID(desc.getKey(i))+': '+desc.getType(desc.getKey(i)))

  • Bridge updated unexpectedly, now Photoshop Tools don't work

    Hi, all;
    I have Web Premium CS 5.5, which I am quite happy with, but I also have a Cloud subscription so that I can use CS products on my laptop (my management decided it was easier to do that than dig up the physical media when my laptop was purchased).
    Recently, I needed InDesign (not part of Web Premium) and installed it from my Cloud subscription. Now, when I select Browse folder with Adobe Bridge, it brings up the CS6 version, not the CS5.5 version. I wouldn't mind much, but the PhotoShop tools menu item doesn't appear (this is about 50% of what I do with Bridge). I can manually open the CS 5.5 version, but of course this is not as convenient as the right-click option, plus the CS 5.5 version is no longer stable (it crashes a lot).
    How do I either get the PhotoShop Tools menu to work in Bridge? Alternatively, how can I get the right-click menu to point to my unstable version of 5.5? I can live with the instability if I can keep it open long enough to at least do what I need to do.
    Thanks;
    Amy

    if PhotoShop tools can't be made to work properly from Bridge CS6, launching CS 5.1 from the right-click menu would be an alternate fix that would be acceptable.
    Bridge works version specific, so CS6 is not easy to use with CS5.5 due to the start up scripts used for the menu Tools. Indesign, Illustrator and I believe also Premiere Pro are the other applications capable of working with Bridge and when only installing one of these apps from the Creative Cloud they also install Bridge CS6 form the Creative Cloud.
    All settings for some reason auto select the newest version, on a Mac for example the finder always used to set itself to the latest installed Photoshop version as default application to pen with, I recall this was hard to avoid, maybe it is still the issue.
    However you still have the CS5.5 installed that will offer the wished behavior.
    You could try to start Bridge CS5.5 manual and the restart Photoshop holding down shiftoptionCommand (Mac, don't know the Windows equivalent) to reset its preferences and force them to the open CS5.5.
    But personally I would not use the Browse in Bridge command in PS itself. I always have both Bridge and PS active and running from log in and never use the Browse in Bridge command.
    Using this command does need to open Bridge or auto switches to the latest version, Having Bridge already up and running saves time in caching and with a work space customized with a folder panel in view is much easier to navigate
    And of course, there is no objection to download also PSCS6 from the CC, I really don't agree with earlier versions being better. Only Bridge CS3 was a very bad version, yet it was in its way better then the first version of Bridge that appeared in CS2. CS3 had much more options but was very unstable (not unusable if you dumped the cache and prefs every few weeks).
    The difference between Bridge CS5.5 and CS6 is a different Cache structure. It claims to be again faster and more stable but some Windows users on this forum sadly enough can't confirm this due to slow criteria building.
    Personally I experience CS6 faster and better then CS5

  • I used to be able to use the tools, edit image and highlight certain items in the pdf photos. why can I not now?

    I used to be able to use the tools, edit image and highlight certain items in the pdf photos. why can I not now?

    Usually Acrobat has linked to PhotoShop to do the photo editing. You might check the updates for Acrobat and PhotoShop.

  • All my desktop files will now only open in the photoshop elements edit page. How can this be corrected?

    As stated in my question I tried to open a manual I have on my desktop and it opened it Photoshop Elements edit page in a thumb nail format.  I checked and all my desktop items will only open in the photoshop elements edit page.  what do I need to do to correct this?

    Now that we have your post in the correct forum, I have a few questions, please:
    What is the file format of this "manual?"
    What OS version are you running?
    If this is Windows (a PC), then what is that file format associated with in File Types? It is likely that the particular format has been associated with PsE. If that is not what you want, the association can be changed from the Control Panel, to link it to the desired program.
    Good luck,
    Hunt

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • How do I edit this script (newbie)

    Editing a script
    I found a script that creates a reminder event based upon the birthdays of my contacts in Address Book. It looks forward one week at a time.
    I'm not familiar with creating scripts. How would I edit this to do the following (if possible)
    1- I set up a contact list in Address Book for only those people whose birthdays I want to be reminded of. Is it possible to have this script only look through this contact list, not every contact.
    2- Can it also be set up to delete the previously set events (so that the only events that appear are the ones for the ensuing week)
    3- Can it be set up to remind me of anniversaries also? How would I edit it? (I tried to find and replace the term birthday with anniversary, but all it did was notify me of forthcoming week's birthdays but called them anniversaries)
    Thanks!
    ===============
    birthdayAlert.scpt
    User set variables
    set numberDaysNotice to 1 -- how many days before the birthday to alert you, 0 is that day
    set timeOfNotification to 5 -- the hour you want the notification
    set selectedCalender to "Birthday Reminders" -- the calender in iCal you want to add the events to
    Setup
    set birthdayPeople to {}
    set birthdayDates to {}
    Get the current date & next week
    set today to current date
    set nextWeek to today + (60 * 60 * 24 * 7)
    Loop through everyone in the Address Book
    tell application "Address Book"
    set peopleArray to the name of every person
    repeat with i from 1 to count of peopleArray
    set thisPerson to person i
    set thisBirthday to birth date of thisPerson
    Check if they've got a birthday entered on their card
    if thisBirthday is not equal to (missing value) then
    set year of thisBirthday to year of (current date) -- otherwise it uses their birth year
    See if it's in the next week
    if (thisBirthday is greater than today) and (thisBirthday is less than nextWeek) then
    set thisBirthday_day to day of thisBirthday
    set thisBirthday_month to month of thisBirthday
    Add them to our list
    set birthdayPeople to birthdayPeople & name of thisPerson
    set birthdayDates to birthdayDates & birth date of thisPerson
    end if
    end if
    end repeat
    end tell
    If we have birthday's go into iCal and add the alerts
    if (count of birthdayPeople) is greater than 0 and ((count of birthdayPeople) is equal to (count of birthdayDates)) then
    tell application "iCal"
    tell calendar selectedCalender
    repeat with i from 1 to count of birthdayPeople
    set thisDate to item i of birthdayDates
    set year of thisDate to year of today
    set time of thisDate to (60 * 60) * timeOfNotification
    set day of thisDate to (day of thisDate) - numberDaysNotice
    set thisEvent to make new event at end with properties {description:"", summary:(item i of birthdayPeople) & "'s Birthday", location:"", start date:thisDate, end date:thisDate + 15 * minutes}
    tell thisEvent
    make new display alarm at end with properties {trigger interval:0}
    end tell
    end repeat
    end tell
    end tell
    end if

    1- I set up a contact list in Address Book for only those people whose birthdays I want to be reminded of. Is it possible to have this script only look through this contact list, not every contact.
    Sure - if you created a specific group of the people you want to track then just change the line:
    set peopleArray to the name of every person
    to:
    set peopleArray to the name of every person of group "Birthdays"
    (or whatever group name you used). You see, as written your script just grabs everyone's name as opposed to just the names of people in the specific group.
    2- Can it also be set up to delete the previously set events (so that the only events that appear are the ones for the ensuing week)
    Yes, but that's a little trickier since you need some way to denote which events are birthday events vs. other events from last week. If you're using a specific calendar for this then you could just delete existing events in that calendar, or you could implement a minor change to the way you create events - use the description to identify this is one of your auto-created birthday alarms:
    set thisEvent to make new event at end with properties {description:"birthday", summary:(item i of birthdayPeople) & "'s Birthday", location:"", start date:thisDate, end date:thisDate + 15 * minutes}
    So now the events will have a specific description, so it's easy to start your new script off with a line that deletes existing 'birthday" events, via:
    tell application "iCal"
      delete every event of calendar selectedCalendar whose description = "birthday"
    end tell
    (you can nix the '... whose description = "birthday"' element if you just want to delete all existing events in the calendar).
    3- Can it be set up to remind me of anniversaries also? How would I edit it? (I tried to find and replace the term birthday with anniversary, but all it did was notify me of forthcoming week's birthdays but called them anniversaries)
    Sure, that's because you specifically ask Address Book for birthdays:
    set thisBirthday to birth date of thisPerson
    To track anniversaries you need to ask Address Book for different data. This one's a little tricker since anniversaries are tracked via the custom date element, so you'd need something like:
    set anniversaryList to {}
    tell application "Address Book"
      repeat with eachPerson in (get every person) -- add 'of group "anniversaries' if you use a specific group
        repeat with eachDate in eachPerson's custom dates
          if label of eachDate = "anniversary" then
            -- this person has an Anniversary set, so add your code here to check if eachDate is in the next week if it is:
            copy eachPerson to end of anniversaryList
          end if
        end repeat
      end repeat
    end tell
    At the end of this you'll have a list of people whose anniversary is upcoming and you can duplicate your iCal code to add anniversary events in addition to birthdays.

  • Please help me easily move my photos off the adobe photoshop 3 edition that is gonna close to revel.

    help me move my photos from adobe photoshop 3.0 edition that is gonna close soon. i just want it on revel so i can copy, print or put on a stick please please please

    I am not sure what Photoshop 3 edition is. The thing changing is that the online sharing and storage found at Photoshop.com will be migrating to Revel and then closing. The jpg files will be automatically copied into Revel. If you want to archive your photoshop.com files, see the link below. You can download and install our media downloader and save your files to your computer.  Revel is the new sharing and storage location for photos. You can share, view, upload, and download files in Revel.
    FAQ: How do I archive my Photoshop.com files with the Adobe Media Downloader ?
    http://forums.adobe.com/thread/1174289?tstart=0
    See our forum for additional information
    http://forums.adobe.com/community/ps.com_sharing_and_storage
    Pattie

  • How do I get a photo into Lightroom if I first opened it in Photoshop for editing

    Sometimes I open an image (not in the Lightroom catalog)  directly into Photoshop for editing and when I'm done would like to finish editing it in Lightroom. What's the best way to do that?

    Any reason why you're not opening it in Lightroom first?  RAW converter?   "Typical" workflow would be to open everything in Lightroom, do basic development, and then kick it over to Photoshop as needed.  Lightroom tracks it the whole time, so when you save your file in Photoshop, so long as you don't rename it, Lightroom will keep track of it as an alternate to the original.

  • Photoshop CS5 edits not showing in Lightroom

    Experiencing strange behavior and would appreciate any advice...
    Am editing .CR2 files, then doing Edit in > Photoshop CS5 > Edit with Lightroom Adjustments and "Stack with Original".  All goes fine until I save and the new image is now displayed in LR.  If I want to do a subsequent edit to the now-stacked .psd file, using Edit in > Photoshop CS5 > Edit Original, then saving, those edits are not showing up in Lightroom.  Strangest is that if I then do Edit in > Photoshop CS5 > Edit Original to the file again, my edits are there in Photoshop.
    I think this is an issue with Lightroom updating / syncing its preview (I'm looking at these in both Grid and Loupe) so that I can't see the latest version of what I edited.  Also, sometimes I can get it to update by changing zoom levels and having LR go back to re-recreate the preview (I assume).  I have also seen this behavior (it's more obvious in this case) when doing B&W conversions and the preview keeps flipping back and forth from color to B&W.
    I assume this is a bug, but is there any way to force the previews to update as a workaround?  Don't really use the print module, but changes also appear to not be reflected in the Web module, so concerned about what my output will look like.
    Thanks.

    Well, just found one solution...   Library > Previews > Discard 1:1 previews and then zooming in on each photo in the Library (Loupe) forced the update.  This needs to get fixed!!

  • I have adobe photoshop starter edition...  It won't open!

    I have adobe photoshop starter edition....  It won't open!

    Hi WoodlandsPsych1,
    Your question about Photoshop Album Starter Edition will be answered on the Photoshop Album forum. I'll move this discussion to that forum so you can get your answer.
    Thanks,
    Luanne

  • Sending photos from lightroom to photoshop to edit

    In lightroom I want to sent the photo over to photoshop to edit. I select “edit in photoshop cc2014 and then get 3 option 1: edit a copy with LR adjustments 2: edit copy 3: edit original.number 1 workers sed over file but with no layers.  2 & 3 I get a message “some of the application components are missing from the application directory Please reinstall the application.  I have reinstalled both LR and PS from the cloud and the problems the same. I am on a Mac. I only just started having this problem

    First I send a raw file from LR to PH you do some changes and then send it back to LR as a tiff file. when you want to send it back to PS (so you can open it with changes i.e. layers) you get get 3 option 1: edit a copy with LR adjustments 2: edit copy 3: edit original.number 1 workers sed over file but with no layers.  2 & 3 I get a message “some of the application components are missing from the application directory Please reinstall the application.
    My Mac is only 6 weeks old and it did work until the cloud asked me to reinstall LR after that I get this message (some of the application components are missing from the application directory Please reinstall the application. ) 

  • Help! can adobe acrobat X pro. Cannot edit a pdf. watched videos, followed directions, nothing. Tried tools, edit document text, recognize text, then tried even to change font, nothing.

    help! I have adobe acrobat X pro. Cannot edit a pdf. watched videos, followed directions, nothing. Tried tools, edit document text, recognize text, then tried even to change font, nothing.

    This is the Reader forum. The Acrobat one is here: Acrobat

Maybe you are looking for