Reading through different file types in one folder

Basically my problem is this:
I want to create one .xml file that calls different .xsl stylesheets depending on the file type that I am calling. I have a folder with .jpg, .mpg, and .xml files in it and want the main .xml file to read through the folder and display all the .jpgs in a particular way, all the .mpgs in another way, and reads out the data from the .xml files in another way. So my questions are:
1. Should I use an .xml file to call the others? (or would I just use html or something)
2. How do I apply the different stylesheets / display characteristics based on the filetype that is called?
3. How do I read through the folder and call only the files with certain extensions?
4. I am also having trouble getting things like XQuery, XPointer, etc. to work, should I be writing these into an .xml file or an html file or what?
Sorry, I know its a lot of questions, but I'm pretty new at this. Thanks!

You can get around the problem with the pictures by making smart albums in iPhoto and telling to not include anything that has avi in the filename.
Since Front Row doesn't currently like video files in playlists, the only real suggestion I can make for that is to drag copies of the videos (can just drag copy them right out of iPhoto into a Finder window) into the ~/Movies folder or a subfolder inside here. That will allow you to browse them alphabetically by selecting the Movies folder from within the Front Row interface.

Similar Messages

  • Is there any way in Finder to search for files and display their path to make it easier to move a file type to one folder without generation duplicates

    Trying to consolidate all media files (mp3, m4a) into one folder for iTuned. Each time to try to move files I end up with duplicates and copies. If I could see the path (folder) in finder I could only move groups. searching for all mp3 file finds all on the iMac regardless of location. I don't want to them one by one having checked the Get Info display.
    Any help, suggestions appreciated.

    This puts the path in the title bar.
    http://osxdaily.com/2007/12/02/show-full-directory-path-in-finder-window-title-b ars/
    I also have the path showing at the bottom of a finder window: View>Show Path Bar. This seems to show the path more competely
    Also, get FindAnyFile.
    http://apps.tempel.org/FindAnyFile/index.php

  • Is there a way to save a form, once filled out, as a different file type in Reader?

    I have Acrobat, my coworkers only have Reader. Company won't purchase Acrobat for the other employees.
    I built a form for my coworkers to fill out. We need them to be able to send the filled out form to clients, but we don't want the clients to be able to edit the forms.
    I understand people with only Reader can't flatten the document, or add a password, or save it as non editable. As I understand it, even with Acrobat I can't assign a password for Reader users to be able to edit or not edit a file (PLEASE correct me if I'm wrong on that one).
    Is there any way to save the PDF form once it's been filled out (in Reader) as a different file type? Even an image? The file we send to clients doesn't have to be a PDF. Just something that most people can open.
    I tried inserting the PDF into a word document (unreadably pixelated) and tried taking a snapshot of the entire page (resolution too low). I've tried downloading one of the free PDF writers and it apparently won't work with our network security (or something along those lines). I've tried using the pdf writer for Firefox on the form once it was filled out, and that won't work either because our network firewall seems to be blocking it and that's not something they are willing to take down.
    Any advice?

    The signature WILL work! I've just looked into it more, thank you so much for pointing me in that direction.
    I get it now, it locks the form fields in place after my coworker fills them in and signs it (as the very last step).
    I wish I would have asked on here a full day ago. Would have saved a lot of headache and Googling.
    Thanks again.

  • Finding missing files that are a different file type?

    I had several folders of jpegs that i converted to dng with lightroom.  I lost the dng files and now i only have the original jpegs.  when i introduce them back to lightroom it no longer recognizes them because of the different file type.  When i "find" and individul file it works and the missing dng is replaced with the jpeg.
    The find nearby files option does not work and finding thousands of files individually is just not going to work.  I don't want to reimport because i will lose all the work i have done to these files.
    Any ideas?  Maybe I should wait for 3.0?
    thanks,
    Braden

    ... the dng converter wont convert a jpeg to dng only camera raw files...
    Didn't know about that.
    In this case, you can use Lightroom to convert to DNG:
    Start a fresh catalog.
    Import all your JPEGs.
    Use the Convert to DNG command in Library module to convert all JPEGs at once. It will place the new DNGs in the same catalog as the source JPEGs.
    Open the original catalog where the DNGs are missing — the old catalog should be fine finding the newly created DNGs now.
    You can now trash the "new" catalog.

  • Different File Types to Import - To Conver or not to convert?

    I have a project that I am dealing with which is requiring several different file types. Mainly .avi exported from VEGAS and footage ripped from a DVD.
    I have heard that it is best to use MPEG Streamclip to convert everything to a DVPro format (I am outputting in SD for broadcast) but wouldn't that just cause more compression?
    What is the best way to handle multiple file formats and the best output settings for broadcast when dealing with multiple formats? Thanks!

    The Avi's might work OK as they are, but the DVD footage has to go through MPEG streamclip. You might have to do this with the Avi's too, but not always... depends on the codec that was used to capture them in Vegas.
    Might try putting the AVI's in Compressor for the conversion if need be, as it might look a bit better in the end. But you've no choice with the files ripped from the DVD.
    Jerry

  • Encoding different file types to binary

    Hi, im writing an application which takes different file types and then encodes them to be sent down a noisy channel, after random effects the data must be decoded back to binary. I have done the algorthims for encoding and decoding binary but i dont know how convert the file types to binary. (files such as jpgs and mp3 and txt)

    ...i know how to do the encoding on binary ...
    ...im not sure how to do this...Maybe you could start by explaining the problem in detail to yourself such that you understand it, then come back and tell us.
    Are you concerned about a difference between a JPG file vs a text file? Text files, in the context you are describing, can be treated as binary just as easily. Use a FileInputStream to read it and you get bytes just like any other file.

  • Get file name of one folder

    Hi
    I want to know all file names of one folder which is on the presentation server.
    I dont want to use FM: TMP_GUI_DIRECTORY_LIST_FILES.
    because it wont work in background.
    Regards,
    Vishwa.

    Similar Post,
    Link:PROBLEM IN FM TMP_GUI_DIRECTORY_LIST_FILES

  • Two different condition types in one report

    Hello,
    i have a problem with the conditional display of a report.
    I want to use two different condition types for one report.
    For example I want to show the report only when the page is not in printer friendly mode and when the value of an item is NULL.
    Is that possible?
    Has anyone a solution for this problem?
    Thank you,
    Tim

    Tim,
    you can use
    IF V('PRINTER_FRIENDLY') = 'YES' AND :P1_ITEM IS NOT NULL THEN RETURN FALSE;
    ELSE RETURN TRUE;
    END IF;
    in the Conditional Display picking PL/SQL Function Body returning a Boolean.
    Denes Kubicek

  • Opening different file types

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Hi
    How can you open different file types saved in the database as BLOBs using Webutil? I am capturing the filename and extension as well.
    The file types are: Excel Spreadsheets, MS Word, PDF, Mail Attachments (outlook)
    I am aware of web.show_document but using that, don't the files need to be on a server?
    I don't want to use javabeans, if that helps.
    thanks

    Hello,
    Webutil is enough ;-)
    <p>Replace the OLE Container C/S functionality with the Webutil library</p>
    Francois

  • Binary file data plugin : navigating through different data types

    Hi
    I am currently trying to load a binary file into DIAdem with the following structure:
    block 1
    1x 8-bit ascii
    12x double
    block 2
    1280x int16
    block 3
    1280x int16
    block 4
    12x double
    block 5
    1280x int16
    block 6
    1280x int16
    block 7
    12x double
    block 8
    1280x int16
    block 9
    1280x int16
    I managed to read the first string value, but I was unsuccessful in getting any further.
    Could anyone please give me a lead on how to proceed?
    /Phex

    Sorry for revoking this thread, but I need some further advice on two issues:
    1. All values that are set to -32768 in the data mean actually NaN. Right now I am converting all those values to NaN in a post-processing script using the CTNV function. Is there a way to do this directly in the DataPlugin? My idea was to apply the NoValueSet command but the bInterfaceLocked variable returned TRUE, so not accessible. No problem if there is no other way, I can live with the CTNV function.
    2. When I tested the DataPlugin with larger files (up to 1 GB) I pretty quickly ran into the maximum channel number limitation of DIAdem (available 65k, needed 400k). The only thing I could think of right now is to concatenate all data to a few channels and then extract the relevant blocks needed for the analysis during post processing. But that does not seem very efficient and will surely bring up other problems. Is there a way to work with the DataPlugin interactively, i.e. tell the plugin to read X number of blocks at file position Y? Or is it possible to save loaded data sequentially to different files within the plugin? Increase the number of available channels? Any comments or other ideas are very much welcome.
    /Phex 

  • Webcrawler issue: Downloads different file than the one visible in browser

    Hi Everyone,
    I am using a webcrawler to download webpages from a site. But it seems to be downloading different HTML files from the ones I can see in the browser. Someone suggested that I might try and setRequestProperty() to fake a browser.
    Could anyone tell me how to do that? I would really appreciate that. A pointer to a website would also be great...
    Thanks,
    Sameer

    Hi All,
    Thanks for the replies. The program can download the HTML pages correctly, apart from one missing column in a table in each page (which happens to be important for me!).
    I am getting the HTML files using HttpURLConnection.
    It has been pointed out to me by another someone :) that this might be due to the fact that the site requires a login, which I completely forgotten when writing the code. So that someone seems to suggest that adding code for setting cookies might solve this issue. Can anyone lead me through the process briefly? Or point me to documentation?
    Thanks again,
    Sameer
    What do the files you get look like ? Error pages ?
    Default pages ? How are you getting them ? HTTP by
    hand ? HttpURLConnection ?

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • Create 2 different delivery types for one sales order

    Hi,
    When sales agent is placing sales order at customer site, customer declares as well products or returned packages he would like to return. our business need is to combine all items (return products,  return packages and ordered items) into one sales order.
    However, we would like to split the sales order into 2 different delivery types. Sales order customizing dictates only one default delivery type per order.
    We can set up split criteria via copy control according to item category, but how can we intervene during creation of deliveries and set up a rule to determine different delivery type then default for return items ?
    Thanks,
    Assaf tzur

    Dear Assaf,
    Through copy control settings you can create two delivery types for single sales order but you have to select the delivery type manually while creating delivery.
    If you want automatic process then you need go for some Zdevelopment with the help of ABAPer.
    I hope this will help you,
    Regard,
    Murali.

  • [SOLVED] Different delete permissions on one folder

    My friends ask me to run a server for our small neighborhood, for purposes like files share and things like that.
    I learned Here that the user permission to delete any file is inherited only from the "father" folder.
    As for the files share, I would like that each user will be able to upload his own files, and while any user will be able to read and download any file (read permission only),
    only the owner user will have the ability to delete his own files.
    At the moment there is main folder with 777 permissions for everyone, and within it each user opened his own directory.
    This way when some files exist in the folder of another user you cannot delete his folder/files.
    But this is bad for sorting needs, I want that any user who provide installation file will be able to put it in the "Installations" folder...
    Most of the users are using ms-smb client to manage their files through my Samba server, and like that when one attempts to delete another-user's file from the main-full-permissions-for-everyone folder he even not receive that Linux warning: "remove write-protected file ‘file_name’? y"
    Is there a way to do that on one directory?
    I tried to learn about the ext filesystem "flags" just to find some flag to make the file delete-able only by the root, that not a solution.
    Sorry for my bad English, not my native language...
    Last edited by Florax (2013-01-27 11:29:14)

    Thank you all very much,
    I will read that all when I'll got the time, but for my purpose the Sticky Bit thing is very much enough.
    Since I think it is very useful for multi-user use of the system, why there is not some simple Arch-Wiki about it?
    Or maybe there is, but I am no good in searching?

  • How to upload all excel files data from one folder into internal table.

    Dear All,
    I have one requirement, It is like I want to upload the frontend file data into my internal table, But here my scenario is;
    If I have one folder ( Called : Temp) in my frontend system, in this folder ( Called : Temp)  I have 100 excel files. In each excel file I have some 1000u2019s of entries. All these data of every file I want to take into my internal table.
    If I have one file I can go for, CALL METHOD cl_gui_frontend_services=>file_open_dialog and then upload method to upload. But I want to take all these excel files from that folder at a time, is there any class or any thing is there..? plz help..
    Thanks...
    Edited by: satishsuri on Jan 11, 2011 9:33 AM

    Hi satishsuri ,
    You will have to use 3 methods together :
    CALL METHOD cl_gui_frontend_services=>directory_browse "Browse the Directory
    CALL METHOD cl_gui_frontend_services=>directory_list_files "Get all the files from the directory
    CALL METHOD cl_gui_frontend_services=>gui_upload "Upload each file in a loop
    Example:
    TYPES: BEGIN OF ty_data,
             line TYPE string,
          END OF ty_data.
    DATA: str_file TYPE string,
          str_dir TYPE string,
          it_file_table TYPE STANDARD TABLE OF file_info,
          wa_file_table TYPE file_info,
          v_count TYPE i,
          it_data TYPE STANDARD TABLE OF ty_data,
          wa_data TYPE ty_data.
    CALL METHOD cl_gui_frontend_services=>directory_browse
      CHANGING
        selected_folder = str_dir.
    CALL METHOD cl_gui_frontend_services=>directory_list_files
      EXPORTING
        directory  = str_dir
      CHANGING
        file_table = it_file_table
        count      = v_count.
    LOOP AT it_file_table INTO wa_file_table.
      CONCATENATE str_dir wa_file_table-filename INTO str_file SEPARATED BY '\'.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename = str_file
          filetype = 'ASC'
        CHANGING
          data_tab = it_data.
      LOOP AT it_data INTO wa_data.
        WRITE : / wa_data-line.
      ENDLOOP.
      ULINE.
    ENDLOOP.
    Regards,
    Jovito

Maybe you are looking for

  • Change material freight group in scheduling agreement

    Hello, whenever we create a scheduling agreement (VA31/VA32), we can change the field  "Mat. freight grp" on the Shipping tab on item level. After the first delivery, this field grays out and we are not able to change it anymore. Is there a way to ch

  • Event viewer error

    Hello,   If this question was posted already please let me know. I have a wireless WRT54GS ver. 6 router. My PC is wired to the router. When ever I start my computer I see the following in the event viewer: Your computer was not assigned an address f

  • Procedure to setup purchase order approval notice to a local printer

    Hello Guru's, How to setup purchase order approval notice to a local printer. will anyone guide me the step by step procedure with T-codes. Full points for the config steps

  • Vocals on M-audio fasttrack panned all the way to left (only in left ear)

    I record vocals using an m-audio fasttrack. When i listen back to the vocals they only play in the left ear, in other words, they are panned all the way to the left. When i turn the pan knob all the way to the right, i can't hear the vocals, and when

  • Upgrading DVD SP 3 Academic

    Is it possible to upgrade dvdsp 3 academic to dvdsp 4 non-academic? I am no longer in school and was curious if I had to purchase the full license of 4 to upgrade. Thanks!