Photoshop batch produce titles from XML

Hi,
Is it possible to use photoshop to batch export a large list of titles from XML or some kind of text list?
e.g.
Home
My Account
Products
Downloads
Help
etc
Cropping the images down to the correct sizes as it goes?
Any help on this would be great.
Thanks
Oli

I don’t follow – what’s the input and what exactly is Photoshop supposed to put out?
For example, a website uses a lot of images as H1 titles for things such as 'My Account' & 'Downloads' etc. I have a large text list of these. Is there a script or plugin, that will take this list a given a selected size & type face, produce images as cropped down GIFs.
What size would be the »correct size« and how is Photoshop to deduce it?
The correct size is the size of the title. For example, create a new document -> type some text -> hold down cmd and click the T on the layer -> this will create the selection, and select crop from the image drop down. That's the size I'm after.
I can create an action to do the bit above, but I'm unsure of how to feed the text in to photoshop 1 title at a time. I've looked at the jQuery Sifr plugin, but the idiots want to use images
Thanks

Similar Messages

  • Photoshop batch produce titles from XML or text list

    Hi,
    Is it possible to use photoshop to batch export a large list of titles from XML or some kind of text list?
    e.g.
    Home
    My Account
    Products
    Downloads
    Help
    etc
    For example, a website uses a lot of images as H1 titles for things  such as 'My Account' & 'Downloads' etc. I have a large text list of  these. Is there a script or plugin, that will take this list a given a  selected size & type face, produce images as cropped down GIFs.
    The  correct size is the size of the title. For example, create a new  document -> type some text -> hold down cmd and click the T on the  layer -> this will create the selection, and select crop from the  image drop down. That's the size I'm after.
    I can create  an action to do the bit above, but I'm unsure of how to feed the text in  to photoshop 1 title at a time. I've looked at the jQuery Sifr plugin,  but the idiots want to use images
    Thanks
    Any help on this would be great.
    Thanks
    Oli

    I don’t follow – what’s the input and what exactly is Photoshop supposed to put out?
    For example, a website uses a lot of images as H1 titles for things such as 'My Account' & 'Downloads' etc. I have a large text list of these. Is there a script or plugin, that will take this list a given a selected size & type face, produce images as cropped down GIFs.
    What size would be the »correct size« and how is Photoshop to deduce it?
    The correct size is the size of the title. For example, create a new document -> type some text -> hold down cmd and click the T on the layer -> this will create the selection, and select crop from the image drop down. That's the size I'm after.
    I can create an action to do the bit above, but I'm unsure of how to feed the text in to photoshop 1 title at a time. I've looked at the jQuery Sifr plugin, but the idiots want to use images
    Thanks

  • Photoshop batch processing missing from menu

    Hi everyone:
    I'm having a terrible time today trying to process the 3500 images I've got. I set up an action to process them, but I can't figure out how to link them to be used through Bridge. I'm running Bridge CS5 with PS CS4, and I'm used to going to Tools->Photoshop->Batch. It's missing entirely from the menu.
    I did a bunch of research and found that this issue likely has something to do with the Startup Scripts. So I checked those, and Photoshop is missing from the options. I can't find where that script right reside, as the folder the scripts are supposed to live in appears to be empty (I do have Adobe Bridge CS5 and InDesign CS5 as options, though the script folder itself is empty).
    If it's a simple matter of installing the appropriate script, where might I find it? And if not, how can I solve the problem?

    If it's a simple matter of installing the appropriate script, where might I
    find it? And if not, how can I solve the problem?
    By default they are installed in the library at root level ( Mac OS:
    //Library/Application Support/Adobe/Startup Scripts CS4/Adobe Photoshop/)
    but I have no experience with - nor would I recommend - the use of CS5
    Bridge with PSCS4.
    If you don't have installed PSCS5 for whatever reason your fastest way would
    be to start Bridge CS4. Let the folder with the files cache first and use
    that Bridge version with PSCS4 to perform your batch. BTW, you can save and
    export the actions from PSCS4 as a set and import them again in PSCS5.
    And of course you could also open the batch in PS itself like we used to do
    in the past before Bridge. PS/File/Automate/Batch and choose the folder you
    want to apply the batch in.

  • Batch document title from file name?

    Forgive the newb question on a fairly simple matter.
    I want to create File Info: Document Titles from file names, minus the extension, for about 400 images.
    Is this possible with Batch rename, if so what am I missing?
    Thanks,

    I am unclear how a batch rename will enter data into File Info: Document Title.
    I have never used them but you might look at metadata templates.  Several sites on web on how to set them up and what they will do for you.

  • Producing pdf from XML via XSL:FO

    Anyboy point me in the direction of a good tutorial, book or any other reference on how to produce a pdf from XML, please?

    Elliott Rusty Harold's XML Bible has a decent chapter re: XSL-FO. The on-line version might even be up-to-date (the print edition that I have is not).
    The Apache FOP documentation is pretty good.

  • Photoshop- Batch tool missing in Bridge?

    My Photoshop-> Batch is missing from the bridge tools menu?  And when I go into Photoshop to automate->Batch I can't choose Bridge as a source. It is there, but it is not in bold(i.e.cannot be selected.)
    I have checked my Bridge->Preferences-> Start up script, and all Photoshop options are checked there. I have also tried enabling them agin, and then restarting Bridge, and resetting Bridge Preferences, still  nothing.  I also tried to delete plist files in my library- I just deleted the bridge one- but I'm not sure what that really does, in any case, it didn't work.
    I used to work. Any suggestions??

    mydogcalli wrote:
    But my problem is that in Bridge, all I have under the tools menu is cache, the Photoshop->Batch option isn't there anymore.
    In that case, something is wrong with your install. Only thing I can offer is to do an uninstall and a fresh install.

  • 1.6 Dynamic Photo Gallery - alt and title attributes from xml file?

    Hi!
    I would like to attach information to my gallery images from
    the XML-file used by the gallery.
    Especially the alt and title attributes for the "img
    id="mainImage"-tag would add a bit more user friendliness.
    I found
    this
    example about adding caption to images very help full and
    everything worked just fine, thanks to clear information!
    (http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadi d=1306782&enterthread=y)
    Could someone come up with an example of adding title/alt
    attributes values from XML file?
    I'm sure there are quite a few out ther who would like to see
    a solution to this ;)

    You need to add your info to the XML.
    So something like:
    <photo
    path = "travel_01.jpg"
    width = "263"
    height = "350"
    title="my title"
    alt_text="Alt Text"
    thumbpath = "travel_01.jpg"
    thumbwidth = "56"
    thumbheight = "75">
    </photo>
    Then in your detailregion:
    <img src="{dsData::large/@base}{@path}" alt="{@alt_text}
    title="{@title}" />
    I am using
    http://www.adobe.com/devnet/dreamweaver/articles/spry_photo_album.html
    as the source of my samples...
    So, just add the data to the XML and then you will have these
    attributes available as data references.
    Hope this helps.
    Don

  • How can I do a Photoshop batch edit from Lightroom?

    In Bridge, I can go to tools > Photoshop > Batch and select a Photoshop Action to apply to some group of photos. Can I do this in Lightroom?

    IF you create a droplet you can drag the files directly from the Library Module on to it (Mac)
    If part of your process involves making derivative files from Raw then you can specify in the export dialog to run the droplet after processing.

  • Produce 2 different xml files from the same PDF

    Hi all
    I need to produce a PDF document which will produce two different XML files depending upon which option ('file A' or 'file B') the user chooses.
    One file needs to capture most of the data from the PDF, the second file only needs to capture some of the data from the PDF.
    Is there a straightforward and efficient way of doing this (i am new to lifecycle)?
    Thanks

    LiveCycle will extract all bound data fields into the XML data. I don't believe that you can change data binding at run time. One thing you could do is to have a process that evaluates the data coming from the form by examining one of the fields. If the data matches a 'file A' type then just pass along the data. If it matches a 'file B' type then run an XSLT transformation to get the other form of the data.

  • Bridge CS6 (Windows 7) Photoshop/Batch menu missing.

    I've installed CS6 (CS5 is still on the machine), and in the Bridge Menu, there is no longer a Batch menu item for initiating actions.
    In Bridge's Edit/Preference command, I have the Startup Scripts checked.  There are no files in the "Startup Scripts" folder.
    I don't see a "Startup Scripts" folder in CS5, only in CS6.
    I can still do batch operations directly from Photoshop CS6's automate window, however, I like the ability in Bridge to select specific files on which to run the action.
    Any help appreciated.
    Thanks!

    Moving this discussion to the Photoshop General Discussion forum.

  • Is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    In iTunes, is there any way to do a mass copy and paste of song titles from the "name" column to the "sort name" column? I know it can be done with individual titles but I have over 6,000 titles in my library.

    Thank you. I have heard of Logic Pro 7, but I have never personally used it. I'm still growing in the world of Composition, and I know that it is something I will be studying in one of my Computer Music classes coming up for my degree. I think it is something I will look into getting once I can justify the price of it. I guess for the time being, I will continue to play and grow in my ability to use and take advantage of GB, and then see what I can do about or with Logic Pro when I'm ready. The thought of spending $1000 for a program is hard to bite, because I've already spent a lot to produce my music, not only electronic music, but also chamber music and so on. I had no idea it would be so expensive to dive deep into the world of composition! lol.
    Finale 2007: $500
    Sibelius 4: $500
    Jam Packs: $400
    Midi Keyboard Interface: $100
    PowerBook: $1700
    Printer for printing scores and analysis: $150
    Logic Pro 7: Oy!
    As you can see it adds up very quickly...that doesn't even include my personal instruments and study materials.
    Thank you for your input, as I haven't really worked much with LP, and therefore didn't know which features are available. I will talk with some of my Composition buddies, and professors and see what they have to say as well, and who knows, I may be able to get the express version through one of them.

  • How to get attribute from xml file

    I managed to grab all the info from xml, except the "url" attribute in <image type="poster" url="" size="mid" .../>. Any ideas?
    import java.io.*;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.net.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NodeList;
    import org.xml.sax.SAXException;
    public class XmlParser {
         ArrayList<Movie> myMovies;
         Document dom;
         public XmlParser(){
              //create a list to hold the movie objects
              myMovies = new ArrayList<Movie>();
         public void runExample(String adr, String tagName) {
              parseXmlFile(adr);
              parseDocument(tagName);
              printData();          
         private void parseXmlFile(String adr){
              //get the factory
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              try {               
                   //Using factory get an instance of document builder
                   DocumentBuilder db = dbf.newDocumentBuilder();
                   //parse using builder to get DOM representation of the XML file
                   URL xmlUrl = new URL(adr);
                   InputStream in = xmlUrl.openStream();
                   dom = db.parse(in);               
              }catch(ParserConfigurationException pce) {
                   pce.printStackTrace();
              }catch(SAXException se) {
                   se.printStackTrace();
              }catch(IOException ioe) {
                   ioe.printStackTrace();
         private void parseDocument(String tagName){
              //get the root elememt
              Element docEle = dom.getDocumentElement();
              //get a nodelist of <movie> elements
              NodeList nl = docEle.getElementsByTagName(tagName);
              if(nl != null && nl.getLength() > 0) {
                   for(int i = 0 ; i < nl.getLength();i++) {
                        //get the movie element
                        Element el = (Element)nl.item(i);
                        //get the Movie object
                        Movie mov = getMovie(el);
                        //add it to list
                        myMovies.add(mov);
          * I take an movie element and read the values in, create
          * an Movie object and return it
          * @param movE
          * @return
         private Movie getMovie(Element movE) {
              String title = getTextValue(movE, "original_name");
              String year = getTextValue(movE, "released");
              String imdbId = getTextValue(movE, "imdb_id");
              double score = getDoubleValue(movE, "score");
              String overview = getTextValue(movE, "overview");
              String poster = movE.getAttribute("url");
              Movie mov = new Movie(title, year, imdbId, score, overview, poster);
              return mov;
         private String getTextValue(Element ele, String tagName) {
              String textVal = null;
              NodeList nl = ele.getElementsByTagName(tagName);
              if(nl != null && nl.getLength() > 0) {
                   Element el = (Element)nl.item(0);
                   textVal = el.getFirstChild().getNodeValue();
              return textVal;
          * Calls getTextValue and returns a int value
          * @param ele
          * @param tagName
          * @return int
         private int getIntValue(Element ele, String tagName) {
              //in production application you would catch the exception
              return Integer.parseInt(getTextValue(ele, tagName));
          * Calls getTextValue and returns a double value
          * @param ele
          * @param tagName
          * @return double
         private double getDoubleValue(Element ele, String tagName) {
              return Double.parseDouble(getTextValue(ele, tagName));
          * Iterate through the list and print the
          * content to console
         private void printData(){
              System.out.println("Total Movies: " + myMovies.size());
              Iterator it = myMovies.iterator();
              while(it.hasNext()) {
                   System.out.println(it.next().toString());
         public static void main(String[] args){
              //create an instance
              XmlParser xp = new XmlParser();
              //call run example
              xp.runExample("http://api.themoviedb.org/2.1/Movie.search/en/xml/apikey/Fight+Club+1999", "movie");
    }Here is the example xml file I used
    <?xml version="1.0" encoding="UTF-8"?>
    <OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
      <opensearch:Query searchTerms="Fight Club 1999"/>
      <opensearch:totalResults>1</opensearch:totalResults>
      <movies>
        <movie>
          <score>8.383284</score>
          <popularity>3</popularity>
          <translated>true</translated>
          <adult>false</adult>
          <language>en</language>
          <original_name>Fight Club</original_name>
          <name>Fight Club</name>
          <alternative_name>El Club de la Lucha</alternative_name>
          <type>movie</type>
          <id>550</id>
          <imdb_id>tt0137523</imdb_id>
          <url>http://www.themoviedb.org/movie/550</url>
          <votes>62</votes>
          <rating>8.4</rating>
          <certification></certification>
          <overview>A lonely, isolated thirty-something young professional seeks an escape from his mundane existence with the help of a devious soap salesman. They find their release from the prison of reality through underground fight clubs, where men can be what the world now denies them. Their boxing matches and harmless pranks soon lead to an out-of-control spiral towards oblivion.</overview>
          <released>1999-09-16</released>
          <images>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-original.jpg" size="original" width="1000" height="1500" id="4bc908ab017a3c57fe002f75"/>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-mid.jpg" size="mid" width="500" height="750" id="4bc908ab017a3c57fe002f75"/>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-cover.jpg" size="cover" width="185" height="278" id="4bc908ab017a3c57fe002f75"/>
            <image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-thumb.jpg" size="thumb" width="92" height="138" id="4bc908ab017a3c57fe002f75"/>
            <image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-original.jpg" size="original" width="1280" height="720" id="4bc908ab017a3c57fe002f71"/>
            <image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-poster.jpg" size="poster" width="780" height="439" id="4bc908ab017a3c57fe002f71"/>
            <image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-thumb.jpg" size="thumb" width="300" height="169" id="4bc908ab017a3c57fe002f71"/>
          </images>
          <version>73</version>
          <last_modified_at>2010-09-11 14:33:06</last_modified_at>
        </movie>
      </movies>
    </OpenSearchDescription>

    pvujic wrote:
    Thanks, but how can I "fetch" the url from the image element?You've got to first get to the image element. But based on what you've posted though, with a little more coding, you should be able to succeed. Just give it a try! :)

  • Bridge menu item tools photoshop batch is not present in CS4

    I recently installed CS4 on an iMac running OS 10.5.7.  I have a 3.06 GHz Intel Core 2 Duo processor, with 4 GB of ram.  The hard drive is 1 Terrabyte.
    In CS3 I could invoke my photoshop actions from bridge.  No such luck here.  I'm finding references to tools>photoshop>batch, but am at a loss as to why I don't see this option in my copy of Bridge. 
    Online help isn't helping or I'm not using the correct search criteria.  Any assistance would be greatly appreciated.  I've attached a screen grab of the menu list.
    Kittie Rue Deemer

    Kitty,
    Your screen shot is in the virus scanning queue, where it can linger for minutes, hours, days or weeks.
    If you use the camera icon in the reply editor's formatting bar, you can embed your image in your post, where it will be viewable instantly.
    then:
    As for your issue, make sure all applicable scripts are checked in Bridge preferences:

  • Reading data From XML file and setting into ViewObject to Pouplate ADF UI

    Hi,
    I have following requirement.
    I would like to read data from XML file and populate the data in ViewObject so that the data can be displayed in the ADF UI.
    Also when user modifies the data in the ADF UI, it should be modified back into to ViewObject.
    Here is an example - XML file contains Book Title and Author. I would like to read Book Title and Author from XML file and set it into ViewObject Attribute and then display Book title and Author in ADF UI page. Also when user modifies Book title and Author, I would like to store it back in View Object.
    Please help me with this requirement and let me know if any solution exist in ADF, for populating the ADF UI screen fields with external XML file data.
    Thanks

    Read chapter 42 http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcadvvo.htm of the fusion developer guide
    Section 42.7, "Reading and Writing XML"
    Section 42.8, "Using Programmatic View Objects for Alternative Data Sources"
    Timo

  • From XML to XSL FO

    How to produce XSL FO file from XML file using XSLT (or something else). Is it possible, and can someone give some example ?

    You can use JAXP to apply an XSLT to an XML file. Beyond that questions about XSLT should be posted somewhere else. This is mostly for Java and XML not XML only help.

Maybe you are looking for

  • How do you get Firefox to ask for proxy username password in a pop up window?

    Previously, about a month ago a pop up message would appear when I would connect to my University's wired network proxy to ask me for my password. In Chormium Browser the following message pops up when I log in http://tinypic.com/r/i77lhi/8. A simila

  • Error while connecting to ECC tables from Crystal

    Hello, I am trying to create a crystal report on the SAP ECC tables directly, when I try to create a new connection from u201CSAP Table, Cluster, or Functionu201D option in crystal reports 2008 I get this error" Logon Failed. Details: you don't have

  • Download error. Please contact customer support. - Adobe Creative Cloud Desktop

    I'm running Windows 8.1 on a home network. This is a fresh install of the operating system, my previous harddrive crashed on this system, so Adobe Creative Cloud is the only program besides Chrome I have installed. I have used Adobe Creative Cloud pr

  • How to use Adobe Distiller in Win 2k8 server 64-bit for Financial Reporting

    Hi All, We need to use the Adobe Distiller in Windows 2008 Server SP2 OS for generating PDF reports in Financial Reporting. However, the Adobe Distiller installation recognises the OS version i.e. 32-bit or 64-bit and installs itself automatically. N

  • Add a new column to Cross tab.

    Hi all, I have a rtf template Where I have a cross tab, Product Code as row header and Month as column header(Jan,Feb,......Dec) and Quantity as measure. I need to add Product name right beside the Product code column.. I am not sure how I do this in