JS - How do I Find the MIME type of a Link?

I need to be able to find the MIME type of a linked item in InDesign. Is there a simple way to do this?

@Peter – Indesign CS5.5 v7.5.3 on OSX 10.6.8:
app.placeableFileTypes:
sDnI, sMdI, dDnI, 3dDI, 4dDI, 5dDI, 6dDI, 7dDI, 2dDI, t5DI, t6DI, t7DI, t2DI, 3DCI,
5xCI, 2xCI,  3PM, EVAW, WALU, FFIA, LV4F, LVLF, LFWS, GEPM, aGPM, vGPM,
xGPM, , VooM, xcod, 8SLX,  FTR, NB8W, NBDW, xslx, TXET, txtu, TXET, FSPE, PSPE,
TXET, FTCP, PTCP, TCIP, FFMW, PFMW, TXET,  FDP, fGNP, SPB8,  XCP,  PMB,
ELR, fFIG, TC.., FFIT,  1PT, GEPJ, FIFJ, GPJp
app.placeableFileExtensions:
inds, idms, indd, indt, incd, incx, icml, mp3, WAV, WAVE, AU, AIF, AIFF, F4V,
MP4, FLV, SWF, MPG, M15, M1A, M1V, M64, MP2, MPA, MPM, MPV, M1S, M75,
MPEG, AVI, MOV, docx, xls, rtf, doc, doc, xlsx, txt, utxt, TXT, EPS, AI, TRP, DCS,
PMG, PCT, PIC, WMF, EMF, joboptions, pdf, pdp, PNG, PSD, PDD, PCX, PCC,
BMP, RLE, GIF, SCT, CT, TIF, TIFF, TP1, JPG, JPEG, JPE
Note:
empty array element between "xGPM" and "VooM"
first blank in " 3PM", " FTR", " FDP", " XCP", " PMB", " ELR" and " 1PT"
and the two dots in "TC.."
Uwe

Similar Messages

  • How do I set the mime type for an attachment to "application/zip"

    I'm sending out an email with a zip file as an attachment. The following code works fine, but the Mimetype for the attachment is set to "application/octet-stream"
    FileDataSource fds = new FileDataSource(zipname);
    DataHandler dh = new DataHandler(fds);
    MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setDataHandler(dh);
    mbp2.setFileName(fds.getName());
    I would like the mime type to be application/x-zip. Unfortunately I seem to need a data content handler for this mime type as I get this exception.
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/x-zip
    Building a date content handler in the activation framework seems like a lot of work to do a very simple thing. Am I missing something obvious? Is there a simple way to do this?

    I found the solution after much chasing around. The default mimetypes file that comes with the activation framework does not list zip.

  • How do I find the image type of an image file

    This was posted on the LabView forum in error yesterday,  Please excuse the dual post.
    I am trying to open a JPEG image.  If I do not know the image type (8U, 16I, GrayscaleSingle, ... etc)... is there a way to find out that information?
    If you open the file using IMAQ ReadFile...you have to supply a Create Image input to allocate space...the input specifies a type to read...but if the type of the stored data is not the type specified in the read file you either read the file as the type specified, or the file does not produce any values...(and no error is produced).
    Examples:
    Store a JPEG as a Single Percision Floating point image.
    Use a Creat File to specify that the file is read with the following types...with the following results
    Type Specified        Type Read         Resulting image
    U8                               U8                     8 bit image appears
    16I                               16I
    Solved!
    Go to Solution.

    Hummer1,
    There are two methods to accomplish this:
    1) IMAQ GetFileInfo, which has quite a few outputs involving the image details.
    2) Read JPEG File, which you can unbundle the image data output to get the image depth, or other attributes.
    I would reccomend the IMAQ function, due to it being more detailed.
    Hope this helps
    Chris Van Horn
    Applications Engineer

  • How to find the message type for application

    Hi Guys,
    while postnig the data through idocs,we use message types
    the issue is how can we find the massage type for application?
    plzz help

    You can find these in transaction WE82.
    You can find in WE57, this basis type, which fm is attached (BAPI_IDOC_INPUT1).
    Then check out transactions WE41 and WE42.
    You can use the table EDIMSG, in SE16 to list all the msg types making use of the same IDoc.
    or
    If you want to get all the message types, you can use WE81.
    If you want to see which message types are attched to a particular Idoc type, use WE82
    check it in BD60 and WE57..

  • How to get the 'mime-type' of a Resource accessed via WebDAV

    Hello,
    When a document is uploaded into a folder which is managed by a WebDAV RepositoryManager we don't see a Property 'mime-type' or something like that.
    Our code:
    <i>IPropertyMap lijstProp = tempResource.getProperties();</i>
    In the list there is no Property 'contenttype' or something like that!
    This is a bit of a surprise to me since it seems to me a very relevant Property of a Resource.
    How can the mime-type/contenttype of a Resource managed by a WebDAV Repository Manager be determined?
    Kind regards,
    Maarten Rutten

    Hi Thilo,
    We access the Resources via API.
    When I use "IPropertyMap lijstProp = tempResource.getProperties();" I assume that ALL the available properties are in 'lijstProp'.
    (is this correct?)
    I don't have the Property "contenttype" available in 'lijstProp'.
    A workaround could be that when adding documents to a folder via API's, we also should set this Property via API's.
    But when documents are added directly into the WebDAV folder we don't have that option. So, when we find a Resource with the Property 'contenttype' missing the only option I see is to 'calculate' the contenttyype based on the extension of the Resource.
    Do you agree?
    Kind regards,
    Maarten

  • How do i find the support chat ... where i type my question to a live apple support who types back to me.

    how do i find the apple support chat... where i type my question to a live apple support person and she types back to me live.  thank you   sandra  

    No such place.
    Online you can try the Express Lane.
    Otherwise you have telephone support with Applecare or these (user-to-user) forums.

  • How to get the Mime Type of the file?

    Hi Everyone!,
    I want to upload a random file into my table as a BLOB and simultaneously want to fill the respective another column with its MimeType. Earlier I used Oracle Apex for this, but due to my new requirement I need to make this happen with the help of PL SQL and Forms. Could you help me in getting how we can upload the file and most importantly, how we can get its Mime-Type.
    My chosen file can be of any type; it can be doc ,pdf,txt,xls ,gif or any other format.
    If you could provide the example with your reply then it would be great.
    Thanks
    Harbinder

    hi
    for that u have to use webutil.
    declare
          f varchar2(100);
    begin
         f := webutil_file.file_open_dialog();
         if f is not null then
              :doc.doc_name := f;
              end if;
         end;and
         DECLARE
    filename VARCHAR2(256);
    BEGIN
    filename := CLIENT_GET_FILE_NAME (File_Filter => 'jpg (*.jpg)|*.*|');
    READ_IMAGE_FILE(filename, 'jpg', 'image');
    END; sarah

  • How to determine the MIME types of the files?

    I'm making an application, in which I've to upload the files to the database. Now I want to insert into the database the MIME type of the files. Now how can I know that which type of the file is having which MIME type?
    where can I get the list of all supported MIME types?
    Even if I get the list, then every time I update the file in the database, so every time I have to check the file extension and then insert the MIME type...
    this seems to be a tedioius job..
    Is there any simple way to do this?

    I could ask "supported by what?" but I assume you will
    be the one supporting them. Here's a link to the
    latest list of registered MIME types.HERE's the link...
    ftp://ftp.isi.edu/in-notes/iana/assignments/media-types/media-types

  • How to find the Data Type of a column

    Dear All,
    How to find the Data Type of a Column dynamically in oracle Form.
    Thanks and Regards,
    Fazil
    Edited by: user11334489 on Aug 25, 2012 9:06 PM

    hi,
    you can use get_item_property built-in
    eg:
    declare
       l_item VARCHAR2(10);
    begin
       l_item := Get_Item_Property('item_name',DATATYPE);
    end;

  • Ram? how do i find the type that my macbook pro has?

    ram? how do i find the type that my macbook pro has?
    and whats the best brand to use?
    thanks
    also what kind of express cards addons are available for the macbooks?
    thanks again

    A_MaStA wrote:
    You simply take out and look on the ram chip(s), the manufacturer's name should be all over the chip(s).
    Not very helpful. Micron / Crucial makes maybe 2000 RAM types. If all you have is the RAM and the label you may be thin on luck.
    Reading the manual +*that came with the mac*+ is one resource, regrettably rarely used before posting here.

  • How to find the application type fora Script based on Form name?

    Hi Guys,
                can anybody tell me how to find the Application Type and output type based on Form name and print program name?
    I am having form name as: ZINVENT (INVENT is the actual) and program name as RM07IDRU.How can i find the Appliction ntype and OutType for entering into the NACE tr code.
                    i tried thru TNAPR table but i was not able to find the Entry in the TNAPR with form Name and printprogram name
                   Th Script is about Phsical inventory Documents.
    Thanks,
    Gopi.

    You can use this...
    REPORT  Z_DUMMY_ATG NO STANDARD PAGE HEADING.
    *======================================================================
    * Tablas
    *======================================================================
    TABLES: TTXFP.
    *======================================================================
    * Tablas Internas
    *======================================================================
    DATA: T_TTXFP TYPE STANDARD TABLE OF TTXFP WITH HEADER LINE.
    *======================================================================
    * Selection-Screen
    *======================================================================
    SELECTION-SCREEN BEGIN OF BLOCK SCRIPT WITH FRAME.
    SELECT-OPTIONS:
                  PRINTNAM FOR TTXFP-PRINT_NAME,
                  TDFORM   FOR TTXFP-TDFORM.
    SELECTION-SCREEN END OF BLOCK SCRIPT.
    *======================================================================
    * Start-of-selection
    *======================================================================
    START-OF-SELECTION.
      PERFORM SELECT_DATA.
      PERFORM PRINT_DATA.
    *&      Form  SELECT_DATA
    *       Seleccionamos los datos del reporte.
    FORM SELECT_DATA.
      SELECT TDFORM PRINT_NAME LAST_PROG
      INTO TABLE T_TTXFP
      FROM TTXFP
      WHERE PRINT_NAME IN PRINTNAM
        AND TDFORM IN TDFORM
      ORDER BY TDFORM.
    ENDFORM.                    "SELECT_DATA
    *&      Form  PRINT_DATA
    *       Imprimimos el resultado del reporte.
    FORM PRINT_DATA.
      FORMAT COLOR 3.
      WRITE: 'Programa', 18 'Formulario', 50 'Flag de Ultimo programa'.
      FORMAT COLOR OFF.
      SKIP 1.
      IF NOT T_TTXFP[] IS INITIAL.
      SORT T_TTXFP BY PRINT_NAME.
        LOOP AT T_TTXFP.
          IF T_TTXFP-LAST_PROG EQ 'X'.
          FORMAT COLOR 4.
          WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
          FORMAT COLOR OFF.
          ELSE.
          WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM, 60 T_TTXFP-LAST_PROG.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "PRINT_DATA
    Greetings,
    Blag.

  • How to find the Class Type of a Class ?

    Hi,
    Can anyone tell how can I find a Class Type of a Class?
    e.g. I know the Class name as "Z_ABC" but do not know its Class Type, therefore, not able to display it in CL01.
    Regards,
    Lucky

    Hi,
    Just by entering the Class name in CL02 does not display the data because system asks to enter the Class Type as well.
    Rammohan - Thanks for thissolution however, when I executed after entering the Class Name, table displyed no entries found..... message but this class is being used in the PO Release Strategy. May be the data is being saved in some other table. Is there any other way to find this?
    Regards.

  • How to get the MIME type of the given file in R/3

    Dear Experts,
    Please tell me the FM or Class to get the given file MIME type in R/3 . I am using GUI_upload Function module to upload the file in R/3 .
    Edited by: balaji ramadas on Jan 16, 2009 5:39 AM

    Thank you Prosenjit I m using this FM   CV120_GET_MIME_TYPE
    to get the MIME type of the file
    regards,
    Balaji.R
    Edited by: balaji ramadas on Jan 19, 2009 9:24 AM

  • How to get the mime type of the workflow attachment attached to workitem id

    Hi Experts,
    I can attach different types of attachment to the workitem id, lets suppost the attachment type attached is pdf, for this attachment I have an requirement to send the mime type as well. In this case the mime type is 'application/pdf' for pdf files.(for text file it is 'text/plain' and for zip file it is 'application/zip' and so on)
    Do I have any place in ABAP world where I can get the mime type for different types of attachments.
    I dont want to hard code the mime types, and I have checked the transaction 'SMW0', but not sure if this is the correct place to get the mime type.
    Do you see any other way or tables which stores all these mime types.
    Any help/suggestion would be appreciated.
    Thanks and Regards,
    Neerup.

    Hello,
    Perhaps this can help:
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/ebe5cc1d75aa43a2871717d76f475d/content.htm
    If you want to know the table name, turn on tracing (ST05) when accessing the MIME types.
    regards
    Rick Bakker
    Hanabi Technology

  • How to extract the mime type using HttpExchange?

    Hi,
    I am using Sun httpserver to implement an HTTP Server. I am implementing the class HttpHandler and so implementing the method,
    public void handle(HttpExchange t) throws IOException
    }I just need to know, in the above method, is there a proper way to know the Content-type to know the mime type? Or I would have to traverse through all the headers?
    Regards,
    Kashif

    [HttpExchange.getRequestHeaders()|http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/com/sun/net/httpserver/HttpExchange.html#getRequestHeaders%28%29] returns a Map...

Maybe you are looking for

  • MacBook Pro monitor turns on... when lid lifted

    OK, first and foremost before some snarky reply comes - I am posting in Lion, because this problem is unique to Lion - I never had it prior to yesterday. I start-up or wake my MacBook Pro and the lid is down so the monitor is off - I'm using an exter

  • Need help setting up 11i startup environment

    Greetings! I'm probably not a "typical" 11i user or admin - I'm not a DBA or a sys admin. I'm an infrastructure architect trying to familiarize myself with 11i environment. I was able to install 11i on Suse Enterprise Linux Server 10. Upon completion

  • Direct Database mapping with Grid

    hi everyone, we are making an which ask user to make changes in databse table directly, this will led several altring in database scheema. so we need to run alter query at every instance. can we directly map any of grid like JTable or something with

  • Smart album: macro?

    I would like to set a smart album to locate all of my images that have been taken in macro mode, but I cannot find the macro field in EXIF and so am not sure how to set the filter. I thought macro was flagged up when a camera was taking a close-up sh

  • Can't save home page in A D's My Settings

    Hello, I can't save my home page in My settings, if there is a www in the link is it perhaps prohibited? I get the red error stating the link must be shorter then 80 characters, It's well under 60.. Any thoughts or help would be appreciated. Thank yo