How to find the file type without the file extension using indesign javascript (.jsx)

hi,
How to identify the file type (eg: InDesign or Quark) without knowing their file type. How can we find what kind of file is that??? without their extension like ('.indd','.qxd') before import to the document...

Hi subha_oviya,
Take a look at the file filtering section in the InDesign CS3 sample script ImageCatalog.jsx to see how to look for file types. I'm assuming that you're using InDesign CS3, and that you're using the Mac OS--you didn't say.
Thanks,
Ole

Similar Messages

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to find a lost iPhone without the find my iPhone app ?

    i lost my iphone and need help finding it.However, idont have the find my iphone app

    If you enabled Find My iPhone on it before it was lost, you may be able to locate it on icloud.com as explained here: http://help.apple.com/icloud/#mmfc0f2442.  If you didn't enable Find My iPhone on it before it was lost, there is no way to track it.  You'll have to try calling your number to see if anyone answers or physically look for it.

  • How to find document/content  type i.e. its extension ??

    Hello,
    I wanted to find the extension of a resource i.e. basically i wanted to find out programatically the document type whether its pdf or xml or word doc etc etc....which is stored in KM in portal.
    Is there a way to do so using webdynpro Java  ???
    Thanks in advance,
    Sandesh

    Hi,
    you can take the resource type and you IMimeHandlerService for achieving that.
    best regards,
    --epexpert

  • Downloads - I want to open some PDFs/other file types from the internet but not have to save them; I can't figure out how to view them and close them without having to save them first.

    Downloads - I want to open some PDFs/other file types from the internet but not have to save them. I can't figure out how to view them and close them without having to save them first. When I click on a file, the downloads box opens and depending on the setting, it auto saves the file or asks me where to save the file. What if I don't want to save it anywhere, I just want to view it and close it?

    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • I don't have pdf documents listed as a file type in the applications drop down menu so I cannot manage the handling of these file types. How do I get the pdf file recognised?

    I don't have pdf documents listed as a file type in the drop down applications menu, so cannot handle these. How do I add a file type?

    After a little Googling, it looks like B.Media is a content management system from Wave Corporation used for making catalogs. Doubtful you'd be able to license it at less than an enterprise level.

  • How to find out the condition type of the tax code in the PO document

    Hi friends,
    My questions is how to find out the condition type of the tax code in the PO document.
    When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so on. Beside the text field, there is one button named taxes. When you click the button taxes, it will show you the condition type of the tax code. For example, if the tax code is 'T1', then its condition type 'mwcn'.
    I want to use the information on the PO to find out the value 'mwcn' of the tax code 'T1'. Could anybody help to describe the logic?it looks like the value is saved in the table konp. But I don't know the logic. Please describe. Thank you.

    Hi,
    Hope you have asked for select query..
    select single knumh from a003 into wa_knumh
      where mwskz = wa_itpotab-mwskz
      and kappl = 'TX'
      and aland = 'IN'.
    select single kbetr from konp into wa_kbetr
      where knumh = wa_knumh.
    cheers,
    Dep

  • How to Find the Data Type of the Field In a Database Table

    Hi Experts,
    I'm currently working on a program which needs to find out the data type of the given field in a database table. In addition to accessing DD03L directly, is there any other workaround such as function module to help me achieve this? It would be helpful if a demo example could be provided.
    Thanks a lot.

    Hi,
    Use this..
    DESCRIBE FIELD dobj  TYPE typ.
    write typ.
    type will contain the data type of the object.
    and check this thread also....
    Re: How to get datatype of fields in dynamic structures
    Cheers,
    Simha.
    Reward all the helpful answers..

  • 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 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 can I attach an image without the image is in the email body? (using the new mail the Lion)

    How can I attach an image without the image is in the email body? (using the new mail the Lion)
    I want in attachment, not in the body mail.

    I think your only solution is to zip the image files first and then attach them.
    Read this from a site I found:
    Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
    On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
    Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
    If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data.

  • Attach any file type in the same format and send it thorugh mail

    Dear Guru ,
    I have encountered an issue which i am not able to resolve .
    The issue is like this I need to upload any kind of file type(such as .txt, .xls, .pdf, .doc, .jpeg, .bmp)
         and need to send that file send that particular file and the same file type format attached in the mail.
    how i should approch to get solution to this issue.
    I have gone through the all prog refered in the code gallry (related to send mail with attachment) but i am not able to find out any prog which is giving guidine line attach any kind of file type from the PC (most of the prog is with either taking filetype .txt, .xls or RAW) and send it via mail .
    Need  proper guideline to resolve this issue.... how i should approch to solve this.....
    Thanks & regards
    Saifur Rahaman

    Dear Saha Da,
    Yes saha da i know using SO00 or Sap Business Workplace (SBWP) you can send it.
    But the requirment is like this it must have to do from the selection scereen of the prog .User can save the path of the file which is residing in pc in a variant and from that variant prog will run in background to automate the process.
    We can do it using harcoding the filetype while uploading data from the selection screen.
    But we have to provide the flexiblity to the user so that he/she can change to any file or any file path.
    I am not pretty sure but i my plan i am thinking 1st i will provide the provision of uploading the file into sap application server and from there we will read the file type , file content and send it to mail.
    I know it can be done but right now dont know how it can be done ..... but i will findout...
    Can you give me some more guideline reagrding this.
    Thanks & regards
    Saifur Rahaman

  • Output type configuration for the Goods Receipt without the PO.

    Hi,
    I have a scenario whereby I want two Smartform(s) to fire from the MIGO Transaction. It is for Goods Recepit / others . Movement type '501'. Now we have created a new output type ZWE1 and configured in the system in the Transaction SPRO as follows:
    Materials Management Inventory Management and Physical Inventory Output Detaremination Output types
    ZWE1 is configured along with the Program and the Routine name but no Smartforms has been specified since there are two smartforms to be triggered via this Z program and via MIGO based on the material type which would be decided by the Program internally.
    We have also configured the Material Output Determination and the Procedures fin the Ciondition Procedures for the Control data  ME0001 mentioning this output type without the requirement code 173.
    We have also configured the Output type ZWE1 with the Program name and the Routine in the link  Assign Forms and Program
    but somehow the Program still does not get trigerred.
    Can anyone please tell me what is the reason for this and how this Prpblem should be addressed.
    Any help on this front would be appreciated.
    Suitable eward points would be awarded if Your solution works.
    Thanks,
    Regards,
    Deepak.

    Answered.

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

  • Shrink the List of File Types in the Save As List

    How to I simplify the list of file types in the Save-As file type list? I use less than six file types. I have no need for most of these.
    It would be nice to have my top 5 and then the ability to go off-menu if needed for others.
    Thanks,
    Drew

    I was able to reduce the list of file types by changing some file extensions. In the following folder
    C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\File Formats
    I inserted a tilda (~) into the file extension for these files:
    Cineon.~8bi
    Dicom.~8bi
    JPEG2000.~8bi
    PCX.~8bi
    Pixar.~8bi
    Radiance.~8bi
    U3D.~8bi
    Adobe Photoshop CC has "File Formats" in 4 different places! Two each for the x86 and 64 bit versions.
    Since I don't use the x86 version very much, there was no great desire to mess with those two folders.
    I'd would also like to get rid of
    JPEG Stereo (*.JPS)
    Multi-Picture Format (*.MPO)
    Photoshop Raw (*.RAW)
    Portable Bit Map (*.PBM, *.PGM, *.PPM...)
    I see "Camera Raw.8bi" in
    C:\Program Files\Common Files\Adobe\Plug-Ins\CC\File Formats
    but renaming it didn't help.
    For others who want to do this, and are concerned, just make a note of the file extensions you are changing so you know how to return to the way things were if you ever need to save as a file type that has been removed from your list.
    You must relaunch Photoshop after making any file name changes to see the effects.
    Any ideas on how to get rid of 4 more file types from my list?

Maybe you are looking for

  • CO-PA: product hierarchy predefined from best practice

    Hi guys, unfortunately I have as basis a best practice system, where product hierarchy with 3 levels is already defined in CO-PA: PAPH1     ProdHier01-1     ProdH01-1     CHAR     5     MVKE     PAPH1 PAPH2     ProdHier01-2     ProdH01-2     CHAR    

  • Wily host agent issue

    Hi Experts, I have an ongoing issue regarding setting up managed systems in Solution Manager. My solman system is SP21 and everytime I go to setup a system via Managed System Configuration --> Diagnostics Configuration. I get the same error no matter

  • Old problem revisited

    Someone posted about this in 2006 but did not receive a response.  I am having the exact same problem.  Dublin Core formats author names as: Surname, First Name.  Adobe Bridge (and the other info panels in Adobe products) automatically change the com

  • Scripts in name  spaces

    Hi ppl can i create scripts in development pkgs of customer name spaces (e.g /xxx/) ....as i am able to create function groups but not scripts...its a 4.0b system......

  • Tecra M10 cmos battery was disconnect​ed and now laptop is bricked. Need EC/KBC assistance please

    Hello, I had to do a repair on my audio board and unfortunately I had to disconnect the cmos battery and remove the motherboard to do the repair. Now once powered up the "on" light will blink once green followed by 2 orange all day long and nothing e