"put dependent files" file name in dialog

<good> When I'm doing a Save All, and I get the dialog asking to put dependent files... this dialog pops up for each of the files to be saved. </good>
But,  I don't see anywhere on it the name of which file I'm trying to put in this instance.  (It did show up in a dialog just prior to the "put dependent files" dialog, but now is obscure.)
Is this configurable, or should I raise an enhancement request....?

Are you downloading the file (right-click, save link as), or just opening it by clicking it?
If the latter, then what happens is the file is loaded to the temporary internet files folder by IE and assigned a temporary name, which is then used when you're trying to save it.
You can test this out by going to File - Document Properties before trying to save and looking at the file's location.

Similar Messages

  • Put dependent files prompt? [subject edited by moderator]

    When I try to upload to the internet this is the message I get all the time can anybody help me with this?
    Put dependent files? Selecting "Don't show me this message again" will hide this dialog until re-enabled from the Site category of the Preferences dialog box. Your most recent choice (Yes/No) will be processed automatically while hidden.

    What don't you understand about it?
    Dependent files are the ancillary files contained in your document like scripts, style sheets, images, videos, etc...  If you click "no," DW will NOT automatically upload those files to your server.  If you click yes, DW will automatically upload those files to your server.
    If you don't want to see this screen again, you can turn it on/off under Edit > Preferences > Site.
    I prefer to keep it turned on.   But that's up to you.
    Nancy O.

  • Modifying the name of the file in the download dialog box

    Hi all!
    I've a javascript page that make a pdf document in the fly and download that document. Everything is fine, but I'd like to know how can I modifying the file name in the download dialog box, i.e., when the page display:
    "You are downloading the file:
    xpto.jsp from ..."
    I want to substitute the "xpto.jsp" by "file.pdf".
    I've already theses lines:
    response.setContentType("Application/pdf");
    response.setHeader("Content-Disposition", "attachment; filename="+ nameFile+";");
    response.setHeader("Content-Length", ""+stp.length);
    but the problem persist.
    Note that in the second window, the Save As window, everything is fine, the nameFile appears in the file name box. The problem it's only in the first window, the File Download window.
    Thanks for any help,
    A. Santos

    I've discover something. When the File Download window it's displayed with the following text:
    "You are downloading the file:
    xpto.jsp from localhost
    Would you like to open the file or save it in your computer?
    button OPEN button SAVE button CANCEL button MORE INFO"
    if I press the OPEN button then another File Download window opens with the rigth text:
    "You are downloading the file:
    file.pdf from..."!!!
    i.e, the text desired!
    So the first window is unnecessary and undesired!
    How can I remove this first File Download window??
    Please help!
    A. Santos

  • Need help adding a default file name in a file chooser of save dialog type

    I need to create a file chooser with save dialog type, how can I add a highlighted default file name into the File Name textfield? As in Microsoft Word, when you want to save a document, a default file name Doc1.doc will appear in the File name text field of the file chooser even when you change to other directories.

    For JRE 1.4.0 you can use this fix:
    public class FileChooserFix implements PropertyChangeListener {
      private String fileName;
       * @see PropertyChangeListener
      public void propertyChange(PropertyChangeEvent ev) {
        JFileChooser chooser = (JFileChooser)ev.getSource();
        if (JFileChooser.FILES_ONLY == chooser.getFileSelectionMode()) {
          if (JFileChooser.SELECTED_FILE_CHANGED_PROPERTY.equals(ev.getPropertyName())) {
            File selectedFile = (File)ev.getNewValue();
            if (selectedFile != null) {
              // remember fileName of selected file
              fileName = selectedFile.getName();
          if (fileName != null &&
              JFileChooser.DIRECTORY_CHANGED_PROPERTY.equals(ev.getPropertyName())) {
            // reset selected file
            File directory = (File)ev.getNewValue();
            chooser.setSelectedFile(new File(directory, fileName));
       * Convenience method to create a fixed file chooser.
       * @return      fixed file chooser
      public static JFileChooser create() {
        JFileChooser chooser = new JFileChooser();
        chooser.addPropertyChangeListener(new FileChooserFix());
        return chooser;

  • How to stop DW putting Dependant Files?

    I've never found a solution that's worked for me, but today
    I've had enough!
    I have setup site access via RDS, so there is no 'Local' set
    of files, I'm working directly on our development server and saving
    the files, and testing changes immediately.
    I like to save often and keep checking my changes so that I
    don't break anything, but everytime I save, DW spends 20+ seconds
    putting dependant files.
    My dreamweaver preferences for dependent files are set to
    Prompt, which it certainly isn't doing.
    How can I resolve this? thanks.

    As long as you use an FTP & RDS site, there is no such
    thing as PUT. There
    is no local site. Edits are immediately saved on the server.
    But - check your preferences for Site and make sure that the
    PROMPT on
    PUT/GET is ENABLED. Then save, and when prompted make sure
    you a) click the
    don't show again, and b) you click NO. Does that help?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Stormpool" <[email protected]> wrote in
    message
    news:gojlp6$6ss$[email protected]..
    > I've never found a solution that's worked for me, but
    today I've had
    > enough!
    >
    > I have setup site access via RDS, so there is no 'Local'
    set of files, I'm
    > working directly on our development server and saving
    the files, and
    > testing
    > changes immediately.
    >
    > I like to save often and keep checking my changes so
    that I don't break
    > anything, but everytime I save, DW spends 20+ seconds
    putting dependant
    > files.
    >
    > My dreamweaver preferences for dependent files are set
    to Prompt, which it
    > certainly isn't doing.
    >
    > How can I resolve this? thanks.
    >

  • Text file will only print one set of input and puts in end for name.

    Okay, I have this more or less straightened out. Only thing is, it creates the text file, and will only enter one set of data. It will not print the other students information to the text file. The other thing it does is puts in the student name as end. I think that has something to do with the fact that I need to compare the student name field (SName) to end, so the program can be ended. Anyone have some ideas? I have been working on this for almost 2 weeks, and am about ready to throw the computer off a cliff..
    Thanks.
    import java.io.*;
    import java.lang.*;
    import java.text.*;
    import java.util.*;
    import java.text.DecimalFormat;
    import java.lang.Comparable;
    class my_main
         public static void main (String [] args) throws IOException
         gradebook pt= new gradebook();
         pt.compare();
    class gradebook
         char LG;
         double gr1;
         double gr2;
         double gr3;
         double avg;
         String SName;
         String IDNO;
         String nameupper;
         int compareTo;
         void compare()throws IOException
         FileWriter file= new FileWriter("Grades.txt");
         BufferedWriter bw= new BufferedWriter(file);
         PrintWriter outfile= new PrintWriter(bw);
    BufferedReader stdin;
    stdin= new BufferedReader (new InputStreamReader (System.in));
    System.out.println("Enter Student Name or End to Quit: ");
    SName= stdin.readLine();
    nameupper= SName.toUpperCase();
    DecimalFormat fmt= new DecimalFormat ("##.##");
    outfile.println ("");
    outfile.println (" STUDENT GRADES ");
    outfile.println ("");
    outfile.println ("SName ID # GRADE 1 GRADE 2 GRADE 3 AVERAGE LETTER");
    while(nameupper.compareTo("END")!=0)
    if (nameupper.equalsIgnoreCase("END"))
    break;
         System.out.print ("Student ID: ");
         IDNO= stdin.readLine();
         System.out.print ("Grade One: ");
         gr1= Double.parseDouble(stdin.readLine());
         System.out.print ("Grade Two: ");
         gr2= Double.parseDouble(stdin.readLine());
         System.out.print ("Grade Three: ");
         gr3=Double.parseDouble(stdin.readLine());
         System.out.println ("");
         avg=(gr1+gr2+gr3)/3.0;
         if (avg >= 90) LG = 'A';
    else if (avg >=80 && avg <90) LG = 'B';
    else if (avg >=70 && avg <80) LG = 'C';
    else if (avg >=60 && avg <70) LG = 'D';
    else LG = 'F';
    System.out.println("Enter Student Name or End to Quit: ");
    SName= stdin.readLine();
    nameupper= SName.toUpperCase();
    outfile.print (""+SName);
    outfile.print (" "+IDNO);
    outfile.print (" "+fmt.format(gr1));
    outfile.print (" "+fmt.format(gr2));
    outfile.print (" "+fmt.format(gr3));
    outfile.print (" "+fmt.format(avg));
    outfile.print (" "+LG);
    outfile.println("");
    outfile.close();
         

    Not 100% sure this is what you're after, but it seems to work OK
    import java.io.*;
    import java.lang.*;
    import java.text.*;
    import java.util.*;
    import java.text.DecimalFormat;
    import java.lang.Comparable;
    class my_main
      public static void main (String [] args) throws IOException
        gradebook pt= new gradebook();
        pt.compare();
    class gradebook
      char LG;
      double gr1;
      double gr2;
      double gr3;
      double avg;
      String SName;
      String IDNO;
      String nameupper;
      int compareTo;
      void compare()throws IOException
        FileWriter file= new FileWriter("Grades.txt");
        BufferedWriter bw= new BufferedWriter(file);
        PrintWriter outfile= new PrintWriter(bw);
        BufferedReader stdin;
        stdin= new BufferedReader (new InputStreamReader (System.in));
        System.out.println("Enter Student Name or End to Quit: ");
        SName= stdin.readLine();
        nameupper= SName.toUpperCase();
        DecimalFormat fmt= new DecimalFormat ("##.##");
        outfile.println ("");
        outfile.println ("STUDENT GRADES ");
        outfile.println ("");
        outfile.println ("SName ID # GRADE 1 GRADE 2 GRADE 3 AVERAGE LETTER");
        while(nameupper.compareTo("END")!=0)
          if (nameupper.equalsIgnoreCase("END"))
          break;
          System.out.print ("Student ID: ");
          IDNO= stdin.readLine();
          System.out.print ("Grade One: ");
          gr1= Double.parseDouble(stdin.readLine());
          System.out.print ("Grade Two: ");
          gr2= Double.parseDouble(stdin.readLine());
          System.out.print ("Grade Three: ");
          gr3=Double.parseDouble(stdin.readLine());
          System.out.println ("");
          avg=(gr1+gr2+gr3)/3.0;
          if (avg >= 90) LG = 'A';
          else if (avg >=80 && avg <90) LG = 'B';
          else if (avg >=70 && avg <80) LG = 'C';
          else if (avg >=60 && avg <70) LG = 'D';
          else LG = 'F';
          outfile.print (SName+" "+IDNO+" "+fmt.format(gr1)+" "+fmt.format(gr2)+
                          " "+fmt.format(gr3)+" "+fmt.format(avg)+" "+LG+"\r\n");
          System.out.println("Enter Student Name or End to Quit: ");
          SName= stdin.readLine();
          nameupper= SName.toUpperCase();
        outfile.close();
    }

  • Acquire data from a tab delimited file using a popup dialog object on a stamp

    I am trying to import data from a tab delimited file using a popup dialog object on a stamp.  I have purchased the book by Thom Parker--All About PDF Stamps in Acrobat and Paperless Workflows and have been working through the examples in the appendix.
    My problem is understanding how to bring the data into the dialog object from the file.
    I don't want to plagiarize his book--so am electing at this time not to show my code.  The  script is reading the file, just not bringing in the records from the file so that I can select which line to import into the stamp.
    I have typed in the code exactly how the book describes, but when the popup dialog object is selected, there is nothing in the drop-down.  When I click OK, the first record is put on the stamp--except for the fields that I am wanting to appear in the dialog object popup box.
    I have searched the forums, and also the JavaScript reference.  There are examples of the popup dialog object, but none of them show how to import the data from a file--just for the items to be typed in as the list.
    Any help would be greatly appreciated!  i have been trying to work on this for several months now.

    Karl
    Thank you for getting back with me!
    In answer to your questions:
    1. Your trusted function is not a trusted function. Did you put this
    function into a folder level script so that it will get executed at system
    startup?--
         yes--I saved the script as a .js file and put it in the following path (I have Acrobat XI Pro for Windows)
    C:\Documents and Settings\tjohnson\Application Data\Adobe\Acrobat\Privileged\11.0\JavaScripts\GetTabData.js
    2. The script cannot find your tab delimited data file, or it cannot
    extract the data. Did you add the data file in the correct location? The
    location from the script in the book would be c:\mydata\Contacts.txt
    Yes--the file is in the same path as the book.
    Below is my code that references the file.
    var cPath = "/c/mydata/Contacts.txt";
    the slashes in the book go in the direction of the text above--should they go in the direction that you have in your question?
    Also,  the name and email address need to be separated by one Tab character.
    They are. 
    3. The fields need to be named the same way as the columns in the data file (the two names are in the first line of the file).
    My headings are RevByFromTab and EmailFromTab--which match the names of the two fields on the stamp.
    So, check that you are not getting any errors in the JavaScript console
    (Ctrl-J or Cmd-J), and verify that the tab delimited file is in the correct
    location
    When I run in the java script console--and I just run the script on the stamp,
    it says
    TypeError: event.source is null
    17:Console:Exec
    undefined
    When I place the stamp on the page, the popup box is working, but when you click on the down arrow, there is nothing listed.  When I click OK, the RevByFromTab is populated by the first item in the file, but the EmailFromTab field says undefined.
    Thank you
    Message was edited by: tdjohnson7700

  • File Path Names

    I want to put the File path name of our documents to the head of files as a reference. I know this can be done with Macros on Word/Excel, but is there a way to achieve this with applescript in pages/numbers?

    Insert Filename was one of the features that made it's appearance in iWork '09. The feature has an option to include the entire path. I imagine that with a script it might be possible to insert the filename path in a Pages '08 document.
    Jerry

  • When I open Contacts file in Applications a dialog box states "All Contacts (no cards)"

    When I open Contacts file in Applications a dialog box states "All Contacts (no cards)" My contacts are still located on the computer because I can still send emails as the contacts address is show as soon as I start to enter the name.
    Therefore I am unabled to view the full contacts listing.
    How do I restore this list?

    Hello Barney-15E
    I was not aware of the  existance of Previous Recipients.
    However I have only added my contacts via the Contacts v Card.
    I have selected all contacts and clicked "Add to Contacts" All now restored to original location.
    Thanks Barney-15E for your prompt response.

  • Pass export file/directory name in Web Engine plug-in

    I use a custom Lightroom web engine plug-in that I use to publish my website (5000+ pages).  Here is an example of an output section:
    http://www.johnkane.com/2010-03-01-MuirWoods/index.html.
    I use Dreamweaver to synchronize all the assets such as menus and links, including the plug-in files (Lua pages).  Each web gallery is published to its own folder in my website.  It works great except that every time I publish/republish a web gallery, I have to scroll and identify the directory in the Export / Save Web Gallery dialog box (or type the file (directory) name in for an initial export/publish).
    I have created a panel text box and variable (metadata.directoryPermalink.value) that can contain the directory name.  By storing this directory permalink along with the web gallery, I hope to ensure that each gallery is always published to its correct directory...
    ... except I don't know how to pass this variable to the export dialog box (as "File name" which actually is the directory name all the gallery files are exported to.
    Do I specify this in the manifest?  I don't see references in either the manifest or galleryInfo files... or in the sdk LrWebViewFactory section.  Perhaps I've missed it?
    Any help appreciated!
    Thanks,
    jk

    Hi,
    I haven't tried to write a web engine so don't know the answer off the top of my head. A quick glance at the SDK guide and the two SDK samples didn't give me any hints at the answer.
    Before I nudge one of the gallery developers to see if they know the answer I need to confirm one thing. Can you please confirm you have a file in the same directory as your manifest using the name "myfunctions.lua", and that your require statement looks something like this:
      require "myfunctions"
    (Thie filename should be considered case sensitive).
    I know its an obvious question but I need to ask before I ask one of the others for assistance.
    Matt
    UPDATE: It might also be worth having a look at Sean's 3 post series on web galleries, which is the only other resource I can recall re building web galleries.
    Added additional resource re web gallery development

  • Putting a .pdf file into a column in an oracle table

    I have created a table with one column as a blob so I can put 4800 .pdf files into that column of a table. Can anyone correct the ways I am trying to do this or let me know of a better way. I have tried several ways and have not been successful. Thanks.
    Here are the two ways I have tried that haven't worked.
    -- the storage table for the image file
    CREATE TABLE pdm (
    dname VARCHAR2(30), -- directory name
    sname VARCHAR2(30), -- subdirectory name
    fname VARCHAR2(30), -- file name
    iblob BLOB); -- image file
    -- create the procedure to load the file
    CREATE OR REPLACE PROCEDURE load_file (
    pdname VARCHAR2,
    psname VARCHAR2,
    pfname VARCHAR2) IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := bfilename('O:\twilliams\DD_promotion\cards\', pfname);
    -- insert a NULL record to lock
    INSERT INTO pdm
    (dname, sname, fname, iblob)
    VALUES
    (pdname, psname, pfname, EMPTY_BLOB())
    RETURNING iblob INTO dst_file;
    -- lock record
    SELECT iblob
    INTO dst_file
    FROM pdm
    WHERE dname = pdname
    AND sname = psname
    AND fname = pfname
    FOR UPDATE;
    -- open the file
    dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
    -- determine length
    lgh_file := dbms_lob.getlength(src_file);
    -- read the file
    dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
    -- update the blob field
    UPDATE pdm
    SET iblob = dst_file
    WHERE dname = pdname
    AND sname = psname
    AND fname = pfname;
    -- close file
    dbms_lob.fileclose(src_file);
    END load_file;
    This one I get an error message on this statements:(dbms_lob.LOADBLOBFROMFILE(blob_loc,bfile_loc,dbms_l ob.lobmaxsize,bfile_offset,
    blob_offset) ; )
    DECLARE
    bfile_loc BFILE;
    blob_loc BLOB;
    bfile_offset NUMBER := 1;
    blob_offset NUMBER := 1;
    tot_len INTEGER;
    BEGIN
    /*-- First INSERT a row with an empty blob */
    INSERT INTO blob_tab VALUES (5, EMPTY_BLOB());
    COMMIT;
    /*-- SELECT the blob locator FOR UPDATE */
    SELECT blob_data INTO blob_loc FROM blob_tab
    WHERE id = 5 FOR UPDATE;
    /*- Obtain the BFILE locator */
    bfile_loc := bfilename('O:\twilliams\DD_promotion\cards\','00EAL.pdf');
    /*-- Open the input BFILE */
    dbms_lob.fileopen(bfile_loc, dbms_lob.file_readonly);
    /*-- Open the BLOB */
    dbms_lob.OPEN(blob_loc, dbms_lob.lob_readwrite);
    /*-- Populate the blob with the whole bfile data */
    dbms_lob.LOADBLOBFROMFILE(blob_loc,bfile_loc,dbms_l ob.lobmaxsize,bfile_offset,
    blob_offset) ;
    /*-- Obtain length of the populated BLOB */
    tot_len := DBMS_LOB.GETLENGTH(blob_loc);
    /*-- Close the BLOB */
    dbms_lob.close(blob_loc);
    /*-- Close the BFILE */
    dbms_lob.fileclose(bfile_loc);
    COMMIT;
    /*-- Display the length of the BLOB */
    DBMS_OUTPUT.PUT_LINE('The length of the BLOB after population is: '||
    TO_CHAR(tot_len));
    END ;
    /

    CREATE TABLE test_blob (
    id NUMBER(15)
    , file_name VARCHAR2(1000)
    , image BLOB
    , timestamp DATE
    CREATE OR REPLACE DIRECTORY
    EXAMPLE_LOB_DIR
    AS
    'O:\twilliams\DD_promotion\cards\'
    CREATE OR REPLACE PROCEDURE Load_BLOB_from_file_image
    AS
    dest_loc BLOB;
    src_loc BFILE := BFILENAME('EXAMPLE_LOB_DIR', '009-1395.pdf');
    BEGIN
    INSERT INTO test_blob (id, file_name, image, timestamp)
    VALUES (1001, '009-1395.pdf', empty_blob(), sysdate)
    RETURNING image INTO dest_loc;
    DBMS_LOB.OPEN(src_loc, DBMS_LOB.LOB_READONLY);
    DBMS_LOB.OPEN(dest_loc, DBMS_LOB.LOB_READWRITE);
    DBMS_LOB.LOADFROMFILE(
    dest_lob => dest_loc
    , src_lob => src_loc
    , amount => DBMS_LOB.getLength(src_loc));
    DBMS_LOB.CLOSE(dest_loc);
    DBMS_LOB.CLOSE(src_loc);
    COMMIT;
    END;
    I am getting this error when I exec load_blob_from_file_image.
    ERROR at line 1:
    ORA-00972: identifier is too long
    ORA-06512: at "SYS.DBMS_LOB", line 716
    ORA-06512: at "DRAWING.LOADBLOBFROMFILEIMAGE", line 15
    ORA-06512: at line 1
    any ideas why?

  • Aperture performs adjustments in a different order depending on file type

    Aperture performs Adjustments in a different order depending on file type.
    Here's an example:
    Starting with two copies of an image, one in RAW format (Canon CRW from a D60), the other in TIFF (opened the .crw file in Preview and exported an 8bit tiff file).
    {The test image is a photo of my copy of Aperture on the floor of my studio (which, for reference, is a few points of Cyan off of a neutral grey).}
    The original Image.
    http://members.arstechnica.com/x/adrien/testRAW_originalImage.jpg
    Adjustments
    http://members.arstechnica.com/x/adrien/adjustments.jpg
    The RAW file adjusted
    http://members.arstechnica.com/x/adrien/testRAW_adjusted.jpg
    The TIFF files adjusted
    http://members.arstechnica.com/x/adrien/testTIFF_adjusted.jpg
    Import both of these files (testRAW.crw & testTIFF.tiff) into Aperture.
    Make adjustments to the RAW and TIFF images:
    - Exposure: Saturation -> 0 (lowest possible value).
    - White Balance: Temp -> 3500K (from 5000K).
    It doesn't matter what order you perform these operations in.
    The RAW file is now a neutral greyscale image. With the Saturation set to 0, the White Balance makes no major difference in the image, it stays grey.
    The TIFF file, however, is now a blue tinted greyscale image - much like a sepia-tone effect. Moving the White Balance slider changes the color of the image.
    It appears that Aperture is performing the Saturation and WB operations in a different order: for the RAW file it first performs the WB, then the saturation; while in the TIFF file it performs the saturation first, then the WB.
    The result is the same for a JPEG image.
    The RAW behavior is the 'expected' behavior in photography - White Balance should happen 'before' the Saturation setting.
    I've filed the bug with Apple (number 4394125 at bugreport.apple.com). hopefully they'll fix this.
    Cross posted from this discussion at the MacAch on ArsTechnica forums:
    http://episteme.arstechnica.com/groupee/forums/a/tpc/f/8300945231/m/893007866731 /r/832001796731#832001796731

    Well, there are different ways of achieving this.
    Solution 1:
    You can create a new output type which will be triggered and call a same driver program and the new smart form. I am sure you can customize as to what Purchasing document type will trigger which output type. Get in touch with someone in the function team to get this configured.
    Solution 2:
    No Customizing, let the configuration be the same, but in the driver program change the value of  "TNAPR-FONAM" immediately after the form entry_neu to the new form name based on the Purchasing document type.

  • How to make iTunes read the song's name/singer from the file's name itself?

    Hi everyone,
    So I have this file with songs from everywhere. I spent quite some time now to make sure that the structure of each file's name is as such : "Singer - Song name", hoping that everything would be read by iTunes accordingly. However, either iTunes read it well, or it didn't read it at all ("Singer - Song name" appearing in Title alone), or iTunes read the "media" of the file (ie. what the guy I downloaded it from wrote for it in the Preferences, which usually is in capital letters or with a bunch of weird underscores). As I'm OCD and need everything to be neat, I'm highly tensed right now. I really want everything to be neat and clear!
    So, how do I make sure that iTunes reads the files' names such that it knows the structure is "Singer - Song name"? Thanks.

    iTunes doesn't use file names to determine how music appears in your library,  Rather, it uses metadata that is split between:
    data elements that are embedded within the media files
    data elements that are included in the entries in the iTunes database
    No amount of reorganization, renaming or other manipulation at the file level will make any difference to how songs will appear in iTunes.  Using your example:
    the value of the track number element is 1
    the value of the artist element is "Elvis Presley"
    the value of the song name element is "Blue Suede Shoes"
    Depending on how you configure iTunes then the file name is either:
    completely independent of iTunes (i.,e., the file containing this song could be xyz.mp3)
    dependent on the metadata managed by iTunes, (i.e., when you have these two options set:
    then iTunes will set the file name to be 1-01 Blue Suede Shoes.mp3 where:
    the file is in a folder called "Elvis Presley" (the name of the album)
    that folder is in one called "Elvis Presley" (the name of the artist) which is in iTunes Media\Music
    Going back to your question "How to make iTunes read the song's name/singer from the file's name" the answer is simple - you can't, as this is not how iTunes works.  There are some third-party utilities that you can use to set some metadata element values based on parsing of file names which might be a useful first step.  However, to use iTunes effectively you should really forget about / ignore file names - manage your media using appropriate metadata and allow iTunes to look after file names behind the scenes.

  • Dependent Class files of EJBs...

    I have few dependent class files related to all EJBs (for example common exceptione). Right now all these dependent classes are duplicated in all the EJB jars. Is there any way get rid out of this duplication (other than putting in to system class path). i.e one single jar containing all dependent class files should be deployed along with the (EJBs jars - dependent calsses) in the EAR file.
    Thanx in Adv,
    Potluri

    Hi,
    you can set a classapth in the MANIFEST.MF filewith the parameter Class-Path for relative URLs

  • Java Module for changing the file's name

    Hi all
    I m developing a java module for altering a file's name. I m trying to append system date and time to the file name and send it back. I was successful in retrieving the file's name, appending date n time in it but now I want to send it back. How can I achieve this ? any pointers will be very helpful
    awaiting your reply
    Regards
    Kapil

    String SIGNATURE = "process(ModuleContext moduleContext, ModuleData inputModuleData)";
              TRACE.entering(SIGNATURE, new Object[] { moduleContext, inputModuleData });
    //          Access the XI message. I.e. this module must be placed in the module chain
               // behind a module that sets an XI message as principal data.
               Object obj = null;
               Message msg = null;
               try {
                         obj = inputModuleData.getPrincipalData();
                         msg = (Message) obj;
                        Message msgg = (Message)inputModuleData.getPrincipalData();     
                        AuditMessageKey amk = new AuditMessageKey(msgg.getMessageId(), AuditDirection.INBOUND);               
                        Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "RenameFile: Module Called");
    //               Read the channel ID, channel and the module configuration
                         String cid  = null;
                         String mode = null;
                         String fileName = null;
                         try {
                              // CS_GETMODDAT START
                              mode = (String) moduleContext.getContextData("mode");
                              // CS_GETMODDAT END
                              // CS_GETCHADAT START
                              cid  = moduleContext.getChannelID();
                              Channel channel = new Channel(cid);
    //                          channel = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, cid);
                              // Example to access a channel configuration parameter in a module: String someParameter = channel.getValueAsString("YourAttributeName");
                              // CS_GETCHADAT END
    //                         Hashtable mp = (Hashtable) inputModuleData.getSupplementalData("module.parameters");
    //                           if(null != mp)
    //                                 fileName = (String)mp.get("FileName");
    //                                 fileName = fileName + todaysDate;
    //                                 mp.put("FileName",fileName);     
                             fileName = channel.getValueAsString("file.targetFileName");
                             Date todaysDate = new Date(System.currentTimeMillis());
                             fileName = fileName + todaysDate;
                             Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "RenameFile: fileed" + fileName);
                              if (mode == null) {
                                   TRACE.debugT(SIGNATURE, "Mode parameter is not set. Switch to 'none' as default.");
                                   mode = "none";
                              TRACE.debugT(SIGNATURE, "Mode is set to {0}", new Object[] {mode});
                         } catch (Exception e) {
                              TRACE.catching(SIGNATURE, e);
                              TRACE.errorT(SIGNATURE, "Cannot read the module context and configuration data");
                              ModuleException me = new ModuleException(e);
                              TRACE.throwing(SIGNATURE, me);
                             Audit.addAuditLogEntry(amk, AuditLogStatus.ERROR, "Rerrrd" + me);
                              throw me;
    //               try{
    //                  Hashtable mp = (Hashtable) inputModuleData.getSupplementalData("module.parameters");
    //                  String fileName = null;
    //                  Date todaysDate = new Date(System.currentTimeMillis());
    //                  if(null != mp)
    //                       fileName = (String)mp.get("FileName");
    //                       fileName = fileName + todaysDate;
    //                       mp.put("FileName",fileName);     
    //                  inputModuleData.setSupplementalData("module.parameters", mp);
    //               }catch(Exception e){
               } catch (Exception e) {
                    TRACE.catching(SIGNATURE, e);
                    if (obj != null)
                         TRACE.errorT(SIGNATURE, "Input ModuleData does not contain an object that implements the XI message interface. The object class is: {0}", new Object[] {obj.getClass().getName()});
                    else
                         TRACE.errorT(SIGNATURE, "Input ModuleData contains only null as XI message");
                    ModuleException me = new ModuleException(e);
                    TRACE.throwing(SIGNATURE, me);
                    throw me;
              return inputModuleData;
    Please refer the above code, it might help you to understand what i m trying to do. I have also included some code that is in comments which I tried by referring the links given by other users but its nt working. Please tell me how to improve my code to set the filename into the <b>reciever file adapter</b>.
    Regards
    Kapil

Maybe you are looking for