Automatic file name in InDesign2 file information

Is there any way to automatically add file names to InDesign2 file information (rather than manually typing file names into the file name field each time).
Thanks

Just an update to my earlier reply. Since you already using the PGP encryption component, just have the following line in the existing component code.
Note: I have updated the code to meet your exact requirement.
string sReceivedFileName = pInMsg.Context.Read("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties")
//write value to context
inmsg.Context.Write("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties", System.IO.Path.GetFileNameWithoutExtension(sReceivedFileName).Replace(".pgp", ""));
This use the following section in the code to meet your requirment and along with this code you still need to use the send port macro as %SourceFileName%.pgp:
System.IO.Path.GetFileNameWithoutExtension(sReceivedFileName).Replace(".pgp", "")
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • Database query in MaxL DBS-Name list all file information failed

    When I tried list all file information command in MaxL it gave me an error saying the user doesn't exist. When I check the user through display user; command in MaxL I get the information as listed below.
    Is there something wrong with the way the user was created ?
    How can I (Admin) get the index and data file information?
    MAXL> query database Application.Database list all file information;
       ERROR - 1051012 - User ADMIN@Native Directory does not exist.
    MAXL> display user;
    user                description         logged in           password_reset_days enabled             change_password     type                protocol
       conn param          application_access_
    +-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-------------------+-----------------
    --+-------------------+-------------------
    ADMIN@Nati                                    TRUE                   0                TRUE               FALSE                   3 CSS
       native://DN=cn=911,                   1

    Has anyone resolved the problems with using TNSFormat?
    As is, I want to move to a shared server setup and to do that I want to use TNSFormat and point to a tns entry which is setup for IPC+Shared connection.
    But the Oracle Home that has the Oracle HTTP Server (from the companion CD) does not have SQL*net installed and does not seem to understand TNS.
    I have TNS_ADMIN setup, I have ORACLE_HOME_LISTENER poiting to the DB Home.
    for the OHS home, using "sqlplus login/pw@ipcshared" works, but "tnsping ipcshared" does not, since tnsping does not exist in the OHS home.
    I cannot install SQL*Net from the CD1, since it requires a dedicated/new home and does not want to install in the OHS Home.
    The only format that works in a dedicated OHS Home setup is ServiceNameFormat.
    Any help or input would be very helpful.
    Regards
    ps. This is a redhat linux setup.
    Message was edited by:
    Oli_t

  • Changing file information

    New Mac User here...
    I know that on a PC you can change any file information...
    for instance...if you want to change a music file's genre, title, etc. you can do so without going into itunes.
    i downloaded a song onto my mac and it has all the wrong info (the name of the song is wrong, the genre's wrong) and this is really bothering me. I go to the file and click get info but i can't change anything except the file's extension. if i go to into itunes and click get info on the song i can change anything...but the file info is still the same (wrong title, etc.)
    i don't know if that makes any sense...but can anyone help me out?

    The only way to edit the id3 tags is with an id3 tag editor. iTunes contains an id3 tag editor and it is used via the iTunes interface. If you edit the song/file on the HD from the Finder 'get info' then all you are changing is the name on the HD.
    If you have the 'keep organized' function enabled in iTunes prefs then the name on the HD will be changed to match the name in the iTunes interface.
    From iTunes Help Menu using the search tag of 'id3'
    iTunes: Working with ID3 Tags
    <This article explains how to update ID3 tags on MP3 files that contain no information, partial, or incorrect information in iTunes.
    Symptom
    iTunes contains no information, partial, or incorrect information in some of the fields (Song, Artist, Year, Album, Track Number, Genre)
    Products affected
    iTunes
    Mac OS 9.1
    Mac OS X (all versions)
    Solution
    If you want to change information in one of the ID3 Tags fields in the Library or a playlist, follow these steps:
    Select a song by clicking it within iTunes. If you wanted to change the info for more than one song (batch), select all of the files you want to have similar information by holding down the Command key, and clicking each song to be changed.
    Choose Get Info from the File menu, or use Command-I. This opens the iTunes Song Information window.
    Click the "Tags" tab.
    The Song Name field is next to the iTunes MP3 icon.
    In the "Tags" window you can make changes to all fields shown.
    Note: The Song Name field must contain information. (The Song Name field is located next to the iTunes MP3 icon.)
    An alternative is to use a utility such as ID3X.>
    MJ

  • View XMP file information of placed jpg

    Hi,
    I have several JPG images with IPTC information placed in an InDesign document. The problem is, the IPTC information is not available through the panel information > file information of InDesign. The menu item is disabled. And it is also not available through scripting.
    If I open the placed image in Photoshop and save it again, everything is fine.
    I assume that the XMP information of the image got currupted somewhere along in our workflow. How can that happen ?
    Thanks Stefan

    And here is a more simple example — writes data to the history panel from ID to Thumbnail in Bridge:
    #target indesign
    myDoc = app.activeDocument;
    myFullname = myDoc.fullName;
    myPageRange = pageRange();
    var bt = new BridgeTalk; // create a new BridgeTalk message object
    bt.target = "bridge"; // send this message to the Bridge application
    myScript = 'var t = new Thumbnail (File ("' + myFullname + '")); var mdata = t.metadata; mdata.namespace = "http://ns.adobe.com/photoshop/1.0/"; mdata.History += ""Blah-blah-blah"\r"; mdata.Caption = "Pages. " + myPageRange;'
    bt.body = myScript
    bt.send();
    function pageRange(){
      var myFirstPage =  myDoc.pages.firstItem();
      var myLastPage =  myDoc.pages.lastItem();
        if (myFirstPage == myLastPage){
            return myFirstPage.name;
        else {
            return myFirstPage.name + "–"  + myLastPage.name;

  • LR4 The wrong file information in the preview loupe

    I have not seen this mentioned in the forums but I keep getting a bug where the file information displayed in the preview window gets 'stuck'. The information sometimes hangs with that of a previous image. Ie it doesn't relate to the current image but a previous one I have viewed.
    Any one else found this? It's a bit of an anoying bug!

    Faces has identified the wrong person.
    Actually iPhoto does not identify people - iPhoto suggests and you confirm or reject so you confirmed incorrectly (which happens to all of us)
    How do I re-assign to the correct person?
    double click on the photo to open it and click on "name" and type the correct name for the person
    Mary and Jane are in a group picture and have been identified by iPhoto, not me.
    In Mary's Faces album, Jane's picture is the thumbnail. In a way, the group picture is correct. I would rather have all of Mary's thumbnails show Mary.
    The choice offered by iPhoto is accept or reject. Going into Edit for the pictures does not give the option to identify faces.
    If you reject the person will remain un-named- and in the confirm names mode (starting with version 8.0.2) if you right click (control click) on the photo you can accept, reject or name
    I am reluctant to reject because the group picture may not show up again.
    You can always make a smart album with name is unnamed and find all photos with unnamed people (started in version 8.0.2)
    LN

  • Reading Package Dependency File Information

    Hi All,
    I want to scan for depency file for a package before installtion and list those file information. How to achive this using java Code?
    Thanks in advance
    Sethu

    Try this code,
    import java.io.*;
    class ListFiles {
         public static void main(String a[]) {
              ListFiles lf = new ListFiles();
              File dir = new File("D:/"); //Input the mapped CD-ROM drive here. For me it is D:/
              File[] files = dir.listFiles();
              for(int count=0;count<files.length;count++) {
                   File file = files[count];
                   if(file.isDirectory()) lf.displayFiles(file);
                   if(file.isFile()) lf.checkAndDisplay(file);
         private void displayFiles(File dir) {
              File[] files = dir.listFiles();
              for(int count=0;count<files.length;count++) {
                   File file = files[count];
                   if(file.isDirectory()) displayFiles(file);
                   if(file.isFile()) checkAndDisplay(file);
         private void checkAndDisplay(File file) {
              String name=file.getName();
              if(name.endsWith(".txt")) {
                   System.out.println("Name of the file : "+name);
    }Sudha

  • Missing File information

    I was trying to make a smart folder to house all the pictures in certain folders that were less than a month old. A bunch of these pictures were taken earlier today. Anyway, The "Created" option wasn't showing anything for the past month and after poking around a bit, I realized by opening the picture file's information window that under "Date Created" it just said "--". I tried to figure out in preferences in the finder but you know how limited those options are. I may not really need to know how to write in missing file information. That would be a bit of a pain. I was wondering where the problem was coming from. Why would my iMac not put a date and time stamp in the file's info when I got it off my camera? I need to make my Mac start doing that.

    Oh yeah. I forgot to mention that I tried "Date Modified" and it worked until I would open one of the files. Once they were closed and you went back to the folder, that file was gone. I'm not really sure why. I feel like there's a simple explanation for this and that I was missing something quite obvious. It's driving me nuts. I can't think of a reason that would happen. I tried everything time related. The key part of this is that I want the files to disappear once they are a certain age (I'm thinking about a month). Without that part of the equation, I don't really have a use for the folder at all. I was thinking for some reason that there was no way for a user to change anything in the file's information manually. The answer I think that would have to occur is to find a way to get my Mac to start stamping the date and time. The only reason I don't think it's the camera is that even if the camera didn't stamp the date and time, the OS should have when it came through. Oh yeah, this isn't a new camera and I have pictures from 3 to 4 months back that were successfully imported with the information. ALl the way back to the earliest image taken with this camera (and I've had this camera for a couple years!).

  • How to change file information in ADE?

    I am having trouble loading eBooks into ADE with missing book information. I would like the books to be searchable after they are input into my Nook, but when I load the books into ADE some of the information fields are blank (author, title, etc.). I don't see an "edit file info" button anywhere and when I change the file info in Explorer, it still imports incorrectly. How can I edit file information in ADE so my books can be easily searcheable in my Nook?

    Thank you for advice.
    I know that I can create epub files with fonts included in them.
    My question was- how to refer in the epub to external font file, that ADE would understand and display,
    doing that would let me keep overall file size of my book library significantly less, because I would not need to include same fonts in every book.
    I am able to do it on the devices, I am able to do it in Sony Reader Library, but PC version of Adobe Digital Editions does not work the same way. All I need is to  know where to put external fonts on my PC so that I could refer to them from inside the epub and that ADE would find and display them.
    Though I do appreciate the attention, I'd double the appreciation if you read the question before offering the answer.

  • Importing file information to QT-files

    Hi
    Could somebody save my time, please.
    I produce many differend kind of QT-movies from FCP project with Compressor in same session. I like to add some file information like Copyright, producer, owner, etc. (those which you can see in Command-I window's top) to each movie. This info is same to each QT -movie in same project. Is there any way to import some txt file or other to QT-movie files ? It it huge work to write this info in each movie by hand.
    Thanks
    Kari Kallonen
    PowerBook 17"   Mac OS X (10.4.3)   FCP5, Compressor 2, QTPRO 7.03

    You can use AppleSctipt to add Annotations to QuickTime .mov files. Other formats would require an edit of the droplets found in this collection:
    http://www.apple.com/applescript/quicktime/
    An even easier way is to use those already found in the Automator application (Tiger users only).

  • When viewing a photo in full screen, how do I get the file information and data along the footer.  How do i get that to go off?  Preferences.....???

    Love full screen view, but my file information and data are showing along the footer.  How do I change me settings so this doesn't show?
    Thanks!!!!

    Anne, didn't the answers Frank and I gave in the other tread work? See:
    Re: How do I turn of the focus points in Aperture when viewing a photo in a non-thumbnail view?  Thanks!
    Or did you want to know something differently?

  • Why is my File Information page blank in Photoshop Elements 13?

    I am trying to bring up the File Information tab in PS Elements 13... it comes up absolutely blank with a border around the box showing only the photo number across the top.  HELP!!!!  I need this page desperately and cannot access it.!

    Hi,
    Have you tried downloading Photoshop Elements 13 from here?
    https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    There is only one file to download - which one depends on your system (32-bit or 64-bit).
    These are the trial versions but will convert to the full version when you supply your serial number.
    Brian

  • Show files information with JFileChooser

    Does anyone know how to use JFileChooser to show files information such as size, type and last modified when mouse moves over the files ?
    This function seems to work well with FileDialog class under XP but does not work with JFileChooser.
    Jay

    Revealing hidden files and getting that error are 2 completely different thing. Even though you can't see hidden files in a finder window doesn't mean they are inaccessible to programs and the OS. They are just hidden from view to the user.

  • File Information

    We received an InDesign file from a client that was not packaged. Is there a way to find out some information on who authored the document, what platform it was created on, what version of InDesign (cs2,3,4,5?) ect. There unfortunately is no information in the file information window. Is there any other way to find this stuff out?

    The other designer did not embed the image, as would be considered best practice.
    The pixelated image, is of course, as anyone capable of "doing it right" knows, InDesign's saved low resolution preview of the image.
    Pixal - to be insane with majesty and awe
    Pixel - the smallest discrete component of an image or picture on a CRT screen
    its - it's - it is

  • File information in Elements 9

    I can see file info from my D200 in ViewNX2.  After I convert the NEF file to JPEG, I can still see the file information.  However, when I look at it in PSE9, the window comes up but there's nothing in it.  In order to close the window, I have to use excape.  Does anyone have a solution for this?  Thank you.

    Hi,
    File Info in Full Edit, I don't use the Organizer.  I don't have the Remove XMP marked.  The window opens, but it's completely blank.  I can still see the information in ViewNX2, but it's a little annoying to go back and forth.  I was wondering if it's because PSE9 doesn't work with the camera, My D40x information works fine in there, the D200 doesn't.  Thanks again!!

  • Problems with File Information and installing Adobe Reader

    Dear Forum,
    monthes ago I updated 10.3 to 10.4 now I have 10.4.6. Since the update I have been unable to access file Information (ie, as from key short cut: apple+I). Now I am trying to install Acrobat Reader and I cannot succeed.
    Any of you can suggest me what is wrong and what should I do? Possibly without having to reinstall MacOS again?
    Thank for help!
    Marco

    Your suggestion of creating a new account was useful for installing acrobat Reader.
    If I understand correctly, you were able to install Acrobat Reader while logged into the new account. If so, then the problem's within the old account. Preferential Treatment is at http://homepage.mac.com/jonn8/as/html/pt.html.
    my access to the update COMBO is problematic
    If you can connect to the internet, get the COMBO update from http://www.apple.com/support/downloads/macosx1046comboforppc.html; it has nothing to do with the installation disk.

Maybe you are looking for

  • How do I remove an app from my Icloud backup?

    I'm not even sure I'm asking the right question.  I want to reinstall an app at the recommendation of my IT admin.  When I delete it from my phone and tehn attempt to reinstall from the app store, it is coming from the cloud.   I assume that's my icl

  • How to include suppliers quality claim form for tracking of claim.

    Dear all My customer has come out with the following scenario: To include suppliers quality claim form for tracking of claim. Items received under Quality Inspection and after inspection will be transferred to Unrestricted used stock or blocked items

  • Audigy 2 zs platinum pro HUB prob

    Hi Installed a new platinum pro sound card, which is working absolutely fine on its own. However, i've been unsuccessful in getting the I/O or hub working (which it came with) Just wondering if anyone knows of a solution Many thanks link to a review

  • Can't put CR2 files from Canon Rebel T5i on PSE 11? How do I get them to load?

    I keep trying to put my CR2 files on photoshop elements 11 and I can't. It keeps saying my camera is not compatilble. I use a Canon Rebel T5i. How do I get it load? Do I need to update my program? I really need to get this images up and editted asap!

  • Invisible cursor in email messages on Curve 9300

    Hello, Just got new Curve 9300 (previously had Pearl). My OS is 6.0 Bundle 2534 (v6.0.0.570, Platform 6.6.0.212). My carrier is Orange. I have noticed that the cursor is not visible in messages in my Desktop email box (i.e.. Email coming from my empl