Add File Name to Output

Is it possbile to add the file name variable to topics after they are created without having to manually insert the variable?
Upon inserting the variable, format is thus:
<variable name=file x-format=default x-value=0001.htm>0001.htm</variable>
The x-value and text are plugged in automagically upon insertion.
Is there a simple variable code that will pulls these values in?
My ultimate need is to be able to print topics and include the file name. I could use Title just as well.
A report would work, if the report included the topic text.

OK, got it. The file name iws not updated until the file is closed and opened.
I will add the variableto the topics in question.

Similar Messages

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • How to apply input file name to output file in file adapter

    Hi Friends
    In my file to file scenario,i want to use input file name to output file by using adapter specific attributes,for this i have java code.Please suggest me how can i use this java code in mesg mapping and to which field i need to mapping this.
    Thanks
    pullarao

    Hi Pullarao,
    I have two questions ...
    1. Are u want the static file name in the target file?
    if yes...then follow the Bhavesh instruction.
    2.If u want a dynamic file name in the target file using UDF....then your UDF should mapped to the <b>root element</b> of target structure.
    /**********UDF********/
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
           .getTransformationParameters()
           .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    /*******END UDF*******/

  • Add Timestamp to Remote File Name in Output Tab

    Hi,
    Is it possible to add a timestamp to the Remote File Name in the Destination part of the Output tab?
    E.g. If I have an FTP as the desgination, can I have a file name as dailyReport20130227.pdf, where the date part is generated dynamically on every run?
    Thanks and Regards
    JB

    For everyone's reference, this is possible using the below delimiters.
    http://docs.oracle.com/cd/E15586_01/bi.1111/e18861/T539768T541118.htm
    Expression     Description
    %y     Displays the year in four digits: Example: 2011
    %m     Displays the month in two digits: 01-12 (where 01 = January)
    %d     Displays the date in two digits: 01-31
    %H     Displays the hour in two digits based on 24-hour day: 00-24
    %M     Displays the minute in two digits: 00 - 59
    %S     Displays the number of seconds in two digits: 00 - 59
    %l     Displays milliseconds in three digits: 000 - 999
    In this case, we just need to set up the file name as "+dailyReport%y%m%d.pdf+"

  • Add source file name to output table

    Hi, I am trying to pull data from Azure blob to On Premises SQL Database. I have emp file that have three columns (Id, FirstName, LastName) and SQL table has five columns (Id, Firstname, LastName, SourceFileName, Lastmodifieddatetime). Is there any way to
    map SourceFileName and Lastmodifieddatetime in the Azure Data Factory.
    Thanks,
    Gaurav

    OK, got it. The file name iws not updated until the file is closed and opened.
    I will add the variableto the topics in question.

  • How to add file name by sqlldr

    Hi All,
    Can anyone kindly give me an approach to use a variable in a sql loader ctl file. I am trying to add the value before each insert of row and this value is the file name. So the question is how can I dynamically identify the input data file name, if not, is there a way I can make my SQL Loader to insert a value (file name) before each row into the table.
    my control file like below ,
    LOAD DATA
    INTO TABLE "user"."AAA_BILL"
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    EXCEPTIONS "USER"."AAA_BILL"
    FIELDS TERMINATED BY '|'
    (Streamnumber ,
    MSID ,
    UserName,
    Domain,
    UserIP ,
    Correlation_ID)and the loading script as below ,
    for j in $(GetFileNames)
    do
    let i=$i+1
    sqlldr user/pass control="/u01/ctrlfile/loadBILLDtl.ctl" log=$WiMAXlog$j.log data=$WiMAXsource$j   bad=$WiMAXlog$j.bad
    GetFileNames ()
    sqlplus -s user/pass << EOF
    set echo off
    SET FEEDBACK OFF
    SET heading off
    set pagesize 50000
    select bi_file_name from dbm_bill_head where bi_file_name like 'WiMAX_%' and bi_auto_status=35  order by bi_file_name;
    EOF
    }What I am trying to accomplish here is, I want to insert the data file name along with other data in the data file into table AAA_BILL and this table has the file name coloumn, but the data file does not contain the file name as one of its contents.
    Note : my DB is 10G and OS is RHEL
    any help please ,
    Edited by: 876602 on 18/12/2011 05:44 ص

    Hi,
    Now it is working just well.
    I kept 2 variables: one with the POSIX file path for my do shell script and another one (using the provided tip here) for the Applescript function.
    The only problem I had left was that teh file was writen in, maybe, UTF8 so I added to the open for access a "as text" at the end to make the file as straith text file.
    I always found languages like Applescript a little bit hard to learn. Strangely, I have less difficulty with Cocoa!
    Thanks for avery one here!

  • Add file name script not working in CS3

    I have this wonderful script (written by Brian Price) back in 2004 for PS7 that adds the file name to an image ( I use it for adding file names to small images to be used in a slideshow). It works great ion Photoshop CS, but when I try to use it as part of a batch action in CS3 it stalls on line 9. OIt works fine when run on just one image in CS3 . . . it just stalls when run as part of a batch action!
    Any help GREATLY appreciated!
    Many Thanks,
    Peter Thompson
    [email protected]
    www.photohawaii.com
    Here's the script:
    // this script is a variation of the script addTimeStamp.js that is installed with PS7
    //Copyright 2002-2003. Adobe Systems, Incorporated. All rights reserved.
    //All amendments Copyright Brian Price 2004 ([email protected])
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PERCENT;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = "";
    // Set font size in Points
    myTextRef.size = 30;
    //Set font - use GetFontName.js to get exact name
    myTextRef.font = "ComicSansMS";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 255;
    newColor.rgb.green = 255;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 5, 94);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    I have this wonderful script (written by Brian Price) back in 2004 for PS7 that adds the file name to an image ( I use it for adding file names to small images to be used in a slideshow). It works great ion Photoshop CS, but when I try to use it as part of a batch action in CS3 it stalls on line 9. OIt works fine when run on just one image in CS3 . . . it just stalls when run as part of a batch action!
    Any help GREATLY appreciated!
    Many Thanks,
    Peter Thompson
    [email protected]
    www.photohawaii.com
    Here's the script:
    // this script is a variation of the script addTimeStamp.js that is installed with PS7
    //Copyright 2002-2003. Adobe Systems, Incorporated. All rights reserved.
    //All amendments Copyright Brian Price 2004 ([email protected])
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PERCENT;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = "";
    // Set font size in Points
    myTextRef.size = 30;
    //Set font - use GetFontName.js to get exact name
    myTextRef.font = "ComicSansMS";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 255;
    newColor.rgb.green = 255;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 5, 94);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

  • How can I Bulk add file name to picture

    I want to add the file name to the picture, so that when people look at the picture the file name is embedded into the picture.
    I have done some research on this top and have found some mention of tools that people have build to do this and indeed many different things I suppose.
    Im using PSE 10. Windows 7 Prof.  From what I understand, I cant build tools because my version eg Elements is not full blown. But if people have build something to do this I can then add it to my software and it will function for me.
    While in full, quick or even guided there appears to be an option under File/Automation Tools. This appears to be what I need.
    Can anyone tell me where this add on is and how to use it, I cant seem to find it and I really dont know if it will work with PSE 10. Many of the refrences I have seen seem to be for earlier version.
    Perhaps there is an easier way ??
    Thanks

    Good question.
    Basically what I want is the name of the photo name actually in the photo.  I have 400 pictues, I want to put them into a digital picture frame, and I want each picture to be display with the name of the pictures eg. Florida 2012.jpg and Grand Canyon.jpg. Of course I dont need the .jpg extention. But If it is there I can live with it. Im not sure if the Caption option in photoshop elements  can be exported so that the caption is hard wired into the picture. maybe it is. HOWEVER, what I dont want to do is go through 400 pictures and type in the caption for each pictures, if this option is available. It would be nice if the utility copyed the fild name into the caption, if you  could save it with the caption name, but I think Im asking too much.
    Anyway basically I want the file name build into the  photo how ever this could be done in a bulk mode.
    Is that  a lttle clearer. Here is an examle worth a 1000 words.
    BTW I did an experiment and if you put the name in the caption line of the photo. It does not get exported with the file name in the picture. ( which I would asume since not many want the name in the photo, ) Although maybe there is some option that can be turned on to do this ??
    Regards

  • How to automatically add file name to email subject line

    I just upgraded from Adobe Acrobat Pro 9 to Adobe Acrobat XI Pro.
    Previously, when I sent a form via email in outlook, the subject line of the email automatically filled the file name. With this new version, this no longer happens.
    Is there a setting that allows me to automatically fill the subject line of the pdf with the file name (or some way for me to set the subject line automaticallly)?  Most of my emailed pdf forms go to the same person with the same subject line.
    Thank you for your consideration!

    Unfortunately Adobe lacks the ability to control and access the email attachment file names.
    You can set a standard submit button url action to a mailto command string with a mailto:you[at]yourdomain.com&subject=Your+Custom+Subject+Here
    But you won't be able to know what the file name is to insert it into the subject.
    To have full control over the output, I suggest you submit the data or whole PDF to a server-side script, such as PHP or ASP.net.
    A script can can inject a field values into the custom SMTP email body, subject, recipient lists and attachment file name by parsing the submission or passing values via a Querystring.
    Visit pdfemail.net for online examples and more information on server-side scripting.

  • Add file name to the element in target message

    Hi all!
    I try to configure scenario:
    Get all files from directory (it will not be the same number of file every time) and mapping this file to the ERP system. I use File adapter to do this. But what Is necessary I need to mapp the file name to the element in target message.
    I mean: When I have got the RFC structure imprted from ERP and there I have got the element "filename". I would like to put the file name of file which I mapping to this element. Next put the all file contents with file name to the ERP table.
    It is possible to do that??
    I found in sap help that I can keep file name in the message header to get the same target file name, but I wont to put file contents (with file name) to the ERP table not to another file.
    THX for all your opinions.

    The DynamicConfiguration fin inbound message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/usr/sap/PXD/put/archive</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">ISO646-US</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20061212T121622Z</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">200610.TXT</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">124</SAP:Record>
      </SAP:DynamicConfiguration>
    and for Response:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Response
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">124</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">txt</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20061212T121622Z</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileEncoding">ISO646-US</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">200610.TXT</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/usr/sap/PXD/put/archive</SAP:Record>
      </SAP:DynamicConfiguration>

  • Add file name script

    I have a script for adding the file name as a text layer in PS. This script called "AddFileName02.js" worked by placing the file in the scripts folder on the hard drive. This script worked for PS CS2 (and I think PS CS3). This script could then be accessed by <file><automate><scripts>
    Now that I have PS CS5 I have tried to place this script into the same place in PS CS5, but it does not appear. (I restarted PS) As I see it there could be two possible problems.
    1 The script has a .js extension and all other scripts in PS CS5 have a .jsx extention. So a newer version may be needed.
    2 I have placed the script in the wrong folder.
    Can anyone help?

    Just rename ist with the jsx-suffix and place it in the Presets > Scripts-folder.
    If that does not work you could try the Photoshop Scripting Forum, though some of the regulars also do drop by in this Forum.

  • How do you add File name to returned forms as a field

    I'm sure this can be done just not sure how, I have begun a database using returned forms but want a field/footer at bottom of page showing the file name of the returned form so that each returned form can be identified easier for the purpose of the database. That is when I look up the dataset file I wouls like file name as one of the fields. The files use the format Sub Defect Form (1), Sub Defect Form (2), Sub Defect Form (3) etc etc. It is this file name I want to include in the dataset information and as a field on the bottom of the returned form. Any help with this would be much appreciated.

    Now it's taking hours for emails.
    Not good.
    Bob

  • How to add file name to path

    Hi,
    I use this sentence:
    set temp to path to home folder from user domain
    which give me the name of the home folder of the current user. But how in Apple script I can append a file name to that to get something like:
    "Macintosh HD:Users:user:temp_file"
    Thanks

    Hi,
    Now it is working just well.
    I kept 2 variables: one with the POSIX file path for my do shell script and another one (using the provided tip here) for the Applescript function.
    The only problem I had left was that teh file was writen in, maybe, UTF8 so I added to the open for access a "as text" at the end to make the file as straith text file.
    I always found languages like Applescript a little bit hard to learn. Strangely, I have less difficulty with Cocoa!
    Thanks for avery one here!

  • Automatically add file name footer of converted file

    If I combine multiple files into a single PDF in Acrobat 9, is there a way to have each file's name printed as a header or footer in my PDF?  Thanks.

    Hi TexfloSW,
    Please send a sample PDF of this issue.
    Regards,
    Ratnesh

  • Add vendor name to output list in FBL1n

    For transaction FBL1n i would like to add the vendor name (LFA1-NAME1) as a special field. However, this field is not available (only for one-time vendor) with OBVU.
    Is it possible to add this field and if so, how can i add it?
    thanks and regards,
    Marlies

    HI,
    As you probaby already know you can display the Vendor name in the header but not in the line items, this is standard functionality.
    The Vendor Name may be displayed in the Header Data via the following Menu path in FBL1N : Settings > Display Variant > Current Header Rows. please check SAP Note 181592 explains how to set up the Headers. Also reveiw note 181697.
    Further it is not possible to include NAME1 in the line item display of 'normal' Vendors.  This should only be possible for one-time vendors through table BSEC. The only area this can be included is in the header data.
    I have to tell you that you can only see as standard fields in your line  item display all fields from structure RFPOSX.
    Additionally, you can add special fields to see more fields. But these special fields can only be taken from the following tables:
    BKPF//BSEC//BSED//BSEG//PAYR//BSEGC//BSBV
    That's why you can't add the fields  ADDR1_DATA_NAME or LFA1_NAME1.
    Regards
    Ravinagh Boni

Maybe you are looking for

  • Connecting managed server to cluster's administration server

    Hello, I have a problem when trying to connect managed server to cluster's administration server. When starting the managed server I get a security exception: [javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: Admin

  • APP - Clubbing of Items for Payment

    Hi, I am using APP for making Payment to the vendors. For APP, I have set the rule for the Minimum Payment Amount of INR 7500 for Payment Method u201CCu201D in FBZP. The u201CSingle Payment for marked itemu201D is not ticked. Now I have one vendor wh

  • NTSC HDV & PAL HDV combined

    Hi, All my Video gear is Pal.  I had the Sony A1e (Pal) which after 6 services still has the moisture problem.  I have looked for another good used one  but nothing on the net.  There is a Sony A1P for sale but I think P is the NTSC version. My quest

  • Apex 3.0 PDF with Images

    Hi, i would like to integrate my company-logo inside the pdf report. is there a chance to do this ? Thanks in advance Marco

  • Mountain lion messages problem

    Hi I have just set up my new imac, but I'm having problems with Messages. I've set up my account, but can't seem to connect to people I was in regular contact with in ichat on the old system. My status shows as online in the application menu (Message