Active Layer Name as Text Variable/Live Caption?

Hi all,
I work for a company that uses heavily layered InDesign files to create variable brochures, with the appropriate layers activating for output as pdfs based on user information. Our clients often have difficulty discerning what layer they're looking at when we send them proofs for approval, and I'd like to find a way to have the names of active layer on any given page appear automatically in the slug, as though they are text variables or live captions.
One rather inelegant solution I've come up with is creating a small uncolored picture to put onto each layer, with the layer name as that picture's file name, and link it for Live Captioning. This is a huge messy timesuck though, and I'd love to see if I can just dedicate a text variable to display the names of active layers on a page prior to output. Any help/info is very much appreciated.
Thanks!

Willi—that's a great point. I was simply hoping to avoid the reiterative task of writing it out in the slug so it would change automatically if the layer name was changed, and having to go back through old files to put this info in (each document typically has 150+ layers). If I can't find an automated solution, this is most likely the route I'll be taking.

Similar Messages

  • After Effects customize template with web browser?(layer name giving a variable names)?

    After Effects customize template with web browser?(layer name giving a variable names)?
    so many web sites provideing this service ...online intro makers
    please help me .what plugins using .how to setup this kind of service?

    Sir please see these sites...
    (www.makewebvideo.com,
    templates.introchamp.com.....)
    some sites are in online ...these are using AE for render

  • Script to change layer name in to Document name.

    Hi I would like to make the active layer name the same as the document name.  I know very little about scripting.  I found this script:
    var idoc = app.activeDocument;
    var ilayer = idoc.activeLayer;
    var filename = idoc.name;
    ilayer.name = filename;
    It does almost what I need it to do. except that it also copies the ".ai" in to the layer name.  Is there some way to modify this script to have it exclude or delete the file extension?
    Thanks for any help.

    Or, if you want to keep the same construction as your example...
    var idoc = app.activeDocument;
    var ilayer = idoc.activeLayer;
    var filename = idoc.name;
    filename = filename.slice (0, filename.lastIndexOf(".")); //just add this line to the construction.
    ilayer.name = filename;
    Gustavo.

  • Copy Layer Name To Clipboard?

    Hi, I've been searching for a way to copy the active layer name to the Windows Clipboard, I'm hoping this a quick solution. What I've managed to do so far is to open the layer properties dialog box, then hit 'CTRL+C' to copy the layer name (because the layer name is already highlighted at this step), and then this successfully copies the layer name to the Windows Clipboard.
    But I find that when the system is under load, the layer properties dialog box is sometimes slow to open, and even so, it seems like it's an extra step that could be eliminated.
    I searched through the keyboard shortcuts, and also through all the layer menus for a keyboard shortcut to just 'copy layer name to clipboard' but can't find anything.
    Anyone know if there's a quick keyboard shortcut to do this or perhaps a quick script that will just copy the layer name?
    Thanks in advance..

    here's actually a script that will display the active layer name in a message box. The catch is, it takes up to 3 seconds to run it -I wonder if there's a way to compress  the script so it runs faster? Nonetheless here it is, so I'm wondering if there's a way to insert a "CTRL+C" somewhere in the script so it will just copy the layer name and skip the message box part at the end.....
    var sLayers = getSelectedLayersIdx();
    var Names = new Array();
    for (var a in sLayers){
        Names.push(getLayerNameByIndex( Number(sLayers[a]) ) );
    alert(Names.join('\n'));
    function getLayerNameByIndex( idx ) {
        var ref = new ActionReference();
        ref.putIndex( charIDToTypeID( "Lyr " ), idx );
        return executeActionGet(ref).getString(charIDToTypeID( "Nm  " ));
    function getSelectedLayersIdx(){
          var selectedLayers = new Array;
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet(ref);
          if( desc.hasKey( stringIDToTypeID( 'targetLayers' ) ) ){
             desc = desc.getList( stringIDToTypeID( 'targetLayers' ));
              var c = desc.count
              var selectedLayers = new Array();
              for(var i=0;i<c;i++){
                try{
                   activeDocument.backgroundLayer;
                   selectedLayers.push(  desc.getReference( i ).getIndex() );
                }catch(e){
                   selectedLayers.push(  desc.getReference( i ).getIndex()+1 );
           }else{
             var ref = new ActionReference();
             ref.putProperty( charIDToTypeID("Prpr") , charIDToTypeID( "ItmI" ));
             ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
             try{
                activeDocument.backgroundLayer;
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" ))-1);
             }catch(e){
                selectedLayers.push( executeActionGet(ref).getInteger(charIDToTypeID( "ItmI" )));
         var vis = app.activeDocument.activeLayer.visible;
            if(vis == true) app.activeDocument.activeLayer.visible = false;
            var desc9 = new ActionDescriptor();
        var list9 = new ActionList();
        var ref9 = new ActionReference();
        ref9.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        list9.putReference( ref9 );
        desc9.putList( charIDToTypeID('null'), list9 );
        executeAction( charIDToTypeID('Shw '), desc9, DialogModes.NO );
        if(app.activeDocument.activeLayer.visible == false) selectedLayers.shift();
            app.activeDocument.activeLayer.visible = vis;
          return selectedLayers;

  • In the filter the value of text variable is not shown, only technical name.

    Hi All,
    We have some odd behavior of text variables in the filter screen of key-figures.
    After entering values in the variable screen, the report is executed.
    Within the report all text variables are filled, with the values entered in the variable screen.
    I say all, because we use both sap standard variables &0T_FPER& as customer specific &ZFSCYR&.
    When i want to change the key figures showned, i press the filter icon for key-figures (BW 3.5)
    In the list shown: existing filtervalues, the textvariables of SAP standard are filled with the value entered in the variable screen. However the customer specific is shown with the technical name (&ZFSCYR&) and not the value.
    Has anyone experience with this behavior or even better a solution to prevent this?
    As allways, each usefull answer points assigned!
    Regards,
    René

    Hi Rene,
    If ur custom text variable is not getting populated then you need to check out the code that u have written in there in CMOD for this and ofcourse if ur using this text variable after report execution then it will definately be in i_step 2.
    So best way is to debug your code and check that using code RSRT.
    Thanks
    Dipika

  • Get all file names in a folder, set each as text variable

    First off, I do not know if this is possible.
    For an app I'm writing, I need it to get a list of all the file names inside of a folder, then set a text variable for each of the file names. The app will then display a list of those items, which I know what to do from there.
    If anyone knows how I would be able to do this, or alternatives, I would be extremely grateful.
    Thanks in advance!

    just use any colon separated path (i.e., the desktop would be {color:blue}HD:Users:yourname:Desktop:{colors}) basically, path specifiers come in a number of types:
    # text designations - HD:Users:yourname:Desktop (just a normal text line)
    # posix designations - /Users/yourname/Desktop (how unix expects paths to be written)
    # alias designations - alias "HD:Users:yourname:Desktop" (a pointer to an actual, existing file system element
    # file system referents - file "HD:Users:yourname:Desktop:somefile", folder "HD:Users:yourname:Desktop", etc -
    # file system objects - Folder "Desktop" of folder "yourname" of folder "Users" of disk "HD"
    each has its advantages and disadvantages, and you can coerce between them (though not completely - you need to convert #5 to text before you can convert it to #3, for instance.

  • Text  variable   replacementpath  with   key, attribute, name  then what

    text  variable   replacementpath  with   key, attribute, name  then  what  are the changes in my report in quary designer

    The XML 1.0 spec does not allow elements or attribute names to include spaces in the names.
    See: http://www.xml.com/axml/axml.html
    for a nice annotated version of the spec.
    [Definition:] A Name is a token beginning with a letter or one of a few punctuation characters, and continuing with letters, digits, hyphens, underscores, colons, or full stops, together known as name characters. Names beginning with the string "xml", or any string which would match (('X'|'x') ('M'|'m') ('L'|'l')), are reserved for standardization in this or future versions of this specification.

  • Text Variable(Customer Exit) displays variable name instead of its value.

    Hi Gurus,
    My requirement is to display the year(from variable) as the field name i.e Year end salary 2009.
    I was using the fields name as hardcoded values like 2009 but as per my requirement i need to display it from the variable.
    I tried using Text Variable using customer exit, but I'm getting variable name(zvariable) instead of value(2009).
    Please help me out, many thanks in advance.
    Regards,
    Ankur

    Hi,
    Actually I tried to create a Text Variable with Replacement Path.
    But here the problem is that we have a Characteristic Variable (Customer Exit) which is not listing in the selection box of Replacement Path.
    Hence we tried to create another Text Variable (Customer Exit) and refering to the same Customer Exit code.
    Regards,
    Ankur

  • Photoshop Automation Plug-in - Getting non western characters from layer names and layer text

    Hi To all members of the forum.
    My name is Momir Zecevic and i have developed automation plugin for  Photoshop and it work well for almost 8 years now (Windows XP, Vista, 8, Visual studio 97 and Photoshop 7 SDK). However client for which I have written plugin wants me to add possibility for  new version so that plug-in can read  international characters from text layers (Russian , French German etc) as well as layer names if they have international characters in it.
    I have tried  but seems that I am missing something obvious
    Here is example what I get from getter
    Example:
         error = sPSActionDescriptor->Make(&desc00000B28);
         if (error) goto returnError;
         error = sPSActionDescriptor->PutString(desc00000B28, keyName, "X????????X");
         if (error) goto returnError;
    Layer name is on cyrilic (i hope that it will be displayed right here) XШЂЧЋЖЊЕЏX
    Can someone point me in the right direction.
    Thank you very much.
    Regards,
    Momir Zecevic
    Ars Media
    www.arsmedia.tv

    Tom,
    Thank you very much on your response. i'll give it a try tomorow and post results here when i have them.
    Thanks again.
    Regards,
    Momir Zecevic

  • Name of column using text variable in Query Designer

    Hello!
    I have 3 columns with amounts, 1 characteristic value variable and 1 text variable.
    For example, names of this columns - 2005 year, 2006 year, 2005/2006.
    I fill names using only one text variable and I can call first 2 column. I use set offset of variables for second column.
    How can I call third column ''2005/2006"?

    Hi,
    u need a second Text varaible and u need to correct your existing text variable.
    Prerequisite: u need for your key figures the same KF-variable
    1. Edit your existing text variable  lets say its called &Text1&
    2. Select your Text variable and go to tab "replacement path"
    3. Choose a) InfoObject b) Choose key
    4. In section "use value range" choose from  value
    5. Create a new text variable lets call it &Text2&
    6. make exact the same settings as for your first text variable butchoose for "value range" to value
    Now u use this text variables for your KF:
    KF 1 -> &Text1&
    KF 2 -> &Text1&
    KF 3 -> &Text1& / &Text2&
    This should make it!!
    Regards
    Tobias

  • Text Variable for Top N in Report Name

    Hi Friends..
    I am using a Top N condition in my Report and need to take in value of N from the user and also display it in to title of the report.
    The Text variable wizard does not give me the option to populate a variable value in the title..
    Any ideas would be appreciated..
    Ashish..

    Hi Dorothy,
    Once I press the variable button ..I know I can create a text variable over a characteristic..
    My problem is that I have a Top N Variable created in the conditions which is populated by user entry and I need to populate my text variable in the report title by the value of N which the user enters..
    Hope you understand my problem
    Ashish.

  • GREP for numbers after using Live Caption

    Hello,
    I am placing image material with live captions in indesign. The file name created usually goes like this:
    Credit: 0617 name.jpg
    I would like to remove the date (0617) as well as .jpg automatically. I can do the later with a text search function, however,
    due to different dates I can't do the same there.
    My Grep codes (\d+) do not seem to find any numbers in the image captions. The captions are static by then.
    Any ideas what could go wrong there?
    Cheers

    Live captions, section markers, and other variables or treated like a single character.
    You say, "The captions are static by then".
    Static Captions—These would be treated as normal text and your expressions should work fine.
    Live Captions—These will automatically update based on the filename of the associated linked media. As mentioned before, they are treated as a single character.
    Grep Style
    (:\s\K\d+\s|\.\l+$)
    Description of Expression
    (:\s\K\d+\s|\.\l+$) Find a one or more digits and a whitespace character that follows
    (:\s\K\d+\s|\.\l+$) That comes after a colon followed by a whitespace character
    (:\s\K\d+\s|\.\l+$) Or
    (:\s\K\d+\s|\.\l+$) Find a period followed by one or more letters, which come at the end of a paragraph
    Character Style used by above expression to hide the found characters
    Basic Character FormatsSize = 1pt
    Advanced Character Formats
    Horizontal Scale = 1%
    Vertical Scale = 1%
    Character ColorNone
    Solution
    Set up the aforementioned grep style in your caption paragraph style, as well as the associated character style.
    Generate Static Captions for your photos Object > Captions > Generate Static Captions
    If you frequently use this layout, you may consider setting the caption options to place the captions on their own layer. This way you can easily remove all at once and regenerate static captions.

  • Is it possible to print the layer name on file/copy when print or export file?

    Hi,
    I produce a large number of pages in InDesign.
    In each document there are 5 layers. 1 layer with images and 4 layers with language-editions.
    For safety and quality control I would like to print out the layer name together with the crop-marks.
    Like... Documentname / page number/ layerImages - layer language
    Is that even possible? That is...without me having to write it myserlf in the bleed. :-)
    /Karl

    Karl Z wrote:
    Hi,
    I produce a large number of pages in InDesign.
    In each document there are 5 layers. 1 layer with images and 4 layers with language-editions.
    For safety and quality control I would like to print out the layer name together with the crop-marks.
    Like... Documentname / page number/ layerImages - layer language
    Is that even possible? That is...without me having to write it myserlf in the bleed. :-)
    /Karl
    InDesign's pasteboard, bleed, and slug areas are independent for each document page. Running header text variables in these areas can capture sources on document pages. If you place a text frame with a character style for the layer name, and a character style for the language name, on a layer, and capture them in a character-style-based running header in the slug, for example, the source from whichever layer is visible will appear in the running header in the slug area. Similarly, you can capture other text variables for page number, filename, date/time, etc.
    It may take a little fussing to set it up the first time, but thereafter when you change layer visibility, the visible layer name changes automatically.
    NOTE: Text frames on master page pasteboards, bleed, or slug areas do not appear on document pages unless they also touch the document page border.
    Above: Master page view
    Above: Page 1 view
    Above: Page 2 view
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Message was edited by: peter at knowhowpro

  • The Limitations of Live Captions?

    Hi,
    Just wondered if anyone could offer any general advice about the possible benefits of using Live Captions for a project which I’m currently working on.
    I’m in the throes of setting up an 800page InDesign document (split into smaller files and chapters) which should eventually include about 300 graphics produced in Illustrator (CS5.5 versions – the company will not currently fund an upgrade to CS6). Traditionally, we have always included the graphics captions as part of the Illustrator image as we found they had a habit of being forgotten about by the authors if they were to be added at a later stage in InDesign. If we’ve also needed to include sequential figure numbering we’ve typed them in manually in Illustrator – a bit plebeian but on smaller documents it has worked well enough.
    Given the size of this document, I’ve been looking at the features of Live Captioning but have run into the following queries – can anyone help, please? For the purposes of these questions, let’s assume I am working on Chapter 2 and need to caption up 3 graphics: Fig 2.1, Fig 2.2 and Fig 2.3:
    The text for a Live Caption needs to be included as metadata in the Illustrator file. Is there any way to print this out with the Illustrator image (directly beneath it would be ideal) to ensure it does not get forgotten about by the author? I’ve Googled and Googled and it doesn’t appear to be possible – have I missed something? If not, I would definitely recommend this as a product feature for CS7!
    Is it possible to mix up the text styles in a Live Caption? We use three part captions, the first being the figure number (in bold), the second being the benefit (also in bold) and the third being a description (in italics).A typical caption would run something like this –
    “Fig 2.1: Environmentally-friendly energy. Our use of horses to pull the trams rather than engines reduces carbon emissions and will protect the local parkland.”
    I can separate out a style for the figure number via the Numbering Paragraph Style but if I go the Live Caption route and write the rest of the caption via Illustrator’s metadata I can’t seem to distinguish between the benefit text and the description text unless I turn it into a Static Caption. Is this possible within Live Caption?
    Live Captions appear to only be able to run to one line in length without resizing / retracking?
    Finally, getting the captions to automatically renumber if the locations of the graphics are moved around seems tricky. Let’s say I've got my three images in place – Figs 2.1, 2.2 and 2.3. The order comes through to move 2.2 to the front of the document – in effect turning it into Fig 2.1.As it’s in its own frame, the numbering in the Live Caption does not flip to 2.1 automatically as it would if I were using a series of linked text frames. The only solution seems to be to delete and then re-generate the first Live Caption frame after the image has been moved which then auto-renumbers the ones that follow.
    I can see the benefit of Live Captioning for ensuring a particular piece of text always accompanies a particular image. For anything more complex it appears to be a bit of a pullava. I’m tempted to just stick with doing everything manually in Illustrator or are there ways to automate everything easily using Live Captions and cross-references which I’ve missed?
    As always, thanks in advance for any and all advice offered.

    Here how I would have approach this.. See if it can help you.
    1. Metadata description is added to illustrator graphic using Bridge.
    2. Graphic placed in InDesign.
    3. Create a Paragraph Style with a named Numberining List with a character style for Fig., add a Nested Styles option for the second bold part ending at a sentence. The main text is Italic.
    4. Make a Live Caption setup. Using Description, the paragraph style and put the results on his own layers. Not grouped.
    5. If using CS6 make an Object Style with only the Text Frame Option for Auto-Sizing Height only. From the bottom.
    6. Place all you graphics in InDesign.
    Then when ready...
    7. Select all the Graphics in the Link Panel, and choose Generate Live Captions.
    8. Then use this Script: "TomaxxiVARIprocessor" - > http://tomaxxi.com/downloads/
    9. When executed, the script allow you to convert the specified variables to text, and apply a object style at the same time.
    This should allow the nested style to kick in, allow reflow, and also apply the auto-fit text option.
    Sure you will loose the Dynamic updating of the "Live" Captions, but if you ever need to redo them, just trash the Caption Layersm and redo steps 7 to 9.

  • Text variable + text with tabs to align away from spine

    Hello
    I need a document header that shows the chapter captions. So I created a text variable that picks the format of the caption.
    But the chapter captions have tabs:
    I.>Introduction
    So in the header, on the left pages it looks fine:
    alignment is "away from spine"
    I.>Introduction
    But on the right page the chapter number remains with the spine, only the text after the tabs aligns "away from the spine":
    I.                 >                                   Introduction
    I found it difficult to search for this on google and the forum (and no result) - and hope I made it clear in the text above I can't believe it's a rare problem and really hope I just oversee something and it can be solved..
    Thank you!!

    Some details about how the paragraph is constructed would help. I'm guessing here that the variable is a running head variable based on paragraph style, and that the nmber is manually typed, along with the tab, rather than being a numbered list.
    If that's the case, substituting one or more em spaces or other fixed-width spaces in combination for the tab should solve the problem in the headers, but may cause other issues in the body of the text if your intention by using the tab was to always have a variable space between the number and the words depening on how many characters there are in your number. With roman numerals and proportional fonts it would be difficult without the tab to always have the chapter title itself begin at the same x-coordinate in the frame regardless of the number.
    To overcome that issue, you can use two variables in the header, both designated as Running Header (character style), and separate them with an em-space or similar (not a tab). If there are not already nested styles in use for the titles, create two character styles that are nothing but names, then in the paragraph style for your chapter titles go to Drop Caps and Nested Styles and apply the first character syle up to 1 tab character, None through 1 tab character, and the second character style through 1 sentence. You two character style based variables in the header will pick up the two parts of the paragraph. It seems unlikely that anyone would notice or care that the spacing is fixed between number and text in the headers but not on the page, especially since the alignment shifts from page to page.

Maybe you are looking for

  • More XMP questions / filtering on edit settings

    alright, i've imported one or two of my old CS projects into LR1.0. now i have a couple of questions. in CS, i used sidecar XMP files, both as a way to avoid the mystery of the photoshop database, and to future proof myself for when something like LR

  • Bootcamp and XP-How much room?

    Question for everyone. I just got a new macbook and was considering installing bootcamp and windows xp. I don't really need it but was curious. I have a 80Gig hard drive and have about 55 left. How much hard drive space do these two take with associa

  • Landed costs variance

    As far as I can tell SAP landed costs doesn't track record expected landed costs, only actual landed costs.  In other words there is not a way using landed costs to track expected landed costs vs. actual landed costs and identify variances?  Is there

  • V_V2 not considering GR time in STO in GR end time

    Dear colleagues, I found an issue during V_V2 rescheduling where GR time in material master seems not to be considered. Please see the following example: After creating an STO and running ATP on it manually, I receive the following schedule lines res

  • Can I just have a  phone number to contact you guys at. I am not doing this typing thing.

    I rather talk on the phone.