Function to determine file type

I am looking for a basic function that will receive a string,
I want the function to look at the string and determine what the
file type is, then perform another function.
where filename = "demo.swf" or "somethingElse.pdf"
if filename == 'swf'
goto "10"
else if filename == 'pdf'
goto "20"

You can use the String.split() method, to split the file name
at the period.
Then the file type will be the second item in the array:
function getExtension (fileName:String):String {
return fileName.split(".")[1];
Dave -
Adobe Community Expert
www.blurredistinction.com
http://www.adobe.com/communities/experts/

Similar Messages

  • Determine file type

    How to determine file type given an input stream only?
    private String getFileType (InputStream inputStream) {
    return fileType;
    }

    But there must be some way to do thisWhy must there be?
    There may be "magic numbers" in the stream, or there may not be.
    The point was made in reply one that quite a few file types and that without some sensible choice about what options are going to be considered it could be quite infeasible.
    But it's worse than that. There will be more file types tomorrow than there are today. Unless you are happy with your software failing tomorrow (or have access to java.lang.crystal.Ball) it will be quite difficult to test for tomorrow's file types.
    But it's worse than that. A few minutes ago I created a file type to be used for blog entries on our intranet. Detect that one!
    But it's worse than that. There is no reason why a given stream should not produce a whole lot of bytes that can be validly interpreted by two different pieces of software, each for their own ends. In other words: one stream, two (or more) types.
    Again, why must there be some way to do this?

  • Call function SXMB_SELECT_MESSAGES - determine message type

    After calling function SXMB_SELECT_MESSAGES, you get the
    following information in the return structure. How do you determine the
    message type based upon this information? Programatically (table name or
    functions)?
    outbound system,outbound namespace,outbound interface name
    inbound system,inbound namespace, and inbound interface name

    Hey,
    I forgot to mentation,
    if you are using swith proceudure than,
    need to use the table SXMSPEMAS2,
    in order to find the current table,
    pleae do the following:
    I hope I don't have minor syntax error
    (I didn't compile this before...)
    Report mizi.
    Data:
       lv_emast_table type tabname,
       lv_guid             like sxmsemast-msgguid,
       lv_pid               like sxmsemast-pid,
       ls_emast          type sxmsemast.
    Get values into lv_guid and lv_pid
    lv_guid = ...
    lv_pid   = ...
    call method
       cl_xms_persist=>get_current_table_contrainer
       importing
          ex_emast = lv_emast_table.
    select *
    from (lv_emast_table)
    into ls_emast         
    where
    msgguid = lv_guid and
    pid         = lv_pid.
    write: / ls_emast.

  • Determine file type error

    Hello to everyone.
    I am developing my year 3 project and i have run into some trouble.
    I am trying to determine whether a file is or is not a directory. Using the file.isDirectory works flawlessly, locally on my computer. I am trying to do this remotely using sockets as well. I send a File[] with all the directory contents of a specific folder.
    Doing so, causes a very few folders to be identified as directories where as others return false when checked using the isDirectory method. I have checked to see if it is a permissions problem outside Java but no such case is valid, so i am assuming that it should be within my code. As i already mentioned, working locally works just fine.
    Anyone has any idea what might be causing such a problem? Any help would really be appreciated.
    Kind regards
    Chris

    Well the way i have it returns nothing. It wont identify the files as plain files nor as directories. It just prints false (is not directory) and hangs, Here's the code:
              int selectedIndex = list.getSelectionIndex();
              System.out.println(client.rec[selectedIndex].isDirectory()); //Prints true or false if it is a directory
              if (client.rec[selectedIndex].isDirectory()) {
                   text.setText(client.rec[selectedIndex].getPath());
                   try {
                        client.sendData("getFS", text.getText());
                        client.receiveData();
                        if (client.com.equals("fileSystem")) {
                             list.removeAll();
                             addToList(client.rec);
                   } catch (IOException e) {
                        e.printStackTrace();
              } else {
                   text.setText(client.rec[selectedIndex].getPath());
              }Note that client.rec is the File[] and the SelectedIndex is the index in a list. I have tried substituting the isDirectory() with isFile() == false which enters the if statement but when selecting a file it returns a NullPointerException

  • Problem with Gui_download using ASC File type - japanese characters

    Hi,
    During upgrade,while downloading data for japanese characters using GUI_DOWNLOAD Function module with file type as 'ASC', the space between 2 fields data getting much wider compared to 4.6C Version ws_download Function module's  data.
    Example: the gap between first field data and second field data in ECC 6.0 is 6 characters length,but in 4.6C it is 2 characters length.
    Is there any possibility to get the results similar to 4.6c version.Please give your valueable suggestions.
    Thanks
    BalaNarasimman

    Hi Sandra
    Please find the detailed information for your questions.
    1.Internal table content before download:During Debugging,it was observed that internal table content was same in both versions.For testing,i used only brand new data(Transaction entry).
    2.Download with code Page conversion:Yes,codepage parameter 4103 was explicitly passed into GUI_DOWNLOAD Function module.Also the front end code page which is used by system is 4110 . No errors occured.
    3.System is an Unicode system only.
    4.Actually this 6 character does not refer the byte value,only the gap between 2 fields data is getting referred in ECC 6.0.Please find the below example.
    Example - File data after Download:
    ECC 6.0: Field1            Field2      (gap - 6 characters space between 2 fields data)  Using GUI_Download
    data       u0152©Ïu201Dԍu2020      EN                               
         4.6C: Field1            Field2       (gap - 2 characters space between 2 fields data) Using WS_Download
         data    u0152©Ïu201Dԍu2020  EN    
    Note:Special characters are Japanese characters:

  • Changing file type association through java

    hello all,
    here i had a problem like , we know when we try to open .csv file by default it wll open in excel , because the csv file type was associated with excel this we can see in mycomputer->tools->folder options->file types and here we even have the possiblity of changing the association.
    anyway, my question is that is there any way of changing this association like csv to oepn in wordpad through java program
    with regards
    satya

    i created a like wordCsv.reg
    REGEDIT 4
    [HKEY_CLASSES_ROOT\.csv]
    "Default"=string:Wordpad.Document.1
    when i click on this file i could see a message that the entry wassucessfully entried but i cannot see the entry
    is my approach was correct in adding entry in regedit programatically,
    please any more ideas
    http://jniwrapper.com/pages/winpack/downloads
    here in this link i saw some samples regarding changing file types association
    , dont now will it works
    since this is for win32
    i found a program FileTypeAssociation dont know will it works
    * Copyright (c) 2002-2005 TeamDev Ltd. All rights reserved.
    * Use is subject to license terms.
    * The complete licence text can be found at
    * http://www.jniwrapper.com/pages/winpack/license
    package com.jniwrapper.win32.shell;
    import com.jniwrapper.Function;
    import com.jniwrapper.LongInt;
    import com.jniwrapper.Pointer;
    import com.jniwrapper.UInt;
    import com.jniwrapper.win32.registry.RegistryKey;
    import com.jniwrapper.win32.registry.RegistryKeyType;
    import com.jniwrapper.win32.registry.RegistryKeyValues;
    import com.jniwrapper.win32.registry.RegistryException;
    import java.io.File;
    * This class provides functionality for creating file type associations.
    * @author Vladimir Kondrashchenko
    public class FileTypeAssociation
    private static final String FUNCTION_SHCHANGENOTIFY = "SHChangeNotify";
    private static final long SHCNE_ASSOCCHANGED = 0x08000000L;
    private static final long SHCNF_IDLIST = 0x0000;
    private String _extention;
    * Creates a class instance for associating files of the specified type.
    * @param extention specifies the file type by its extention.
    public FileTypeAssociation(String extention)
    if (extention.startsWith("."))
    _extention = extention;
    else
    _extention = "." + extention;
    * Creates a file type association.
    * @param executable an associated file will be passed as a parameter of this executable file.
    * @param progID the programm identifier in the registry. If the specified prog ID is not exist, it
    * will be created.
    public void createAssociation(File executable, String progID)
    if (!executable.isFile())
    throw new IllegalArgumentException("File not found.");
    String commandLine = "\"" + executable.getAbsolutePath() + "\" \"%1\"";
    createAssociation(commandLine, progID);
    * Creates a file type association.
    * @param commandLine specifies an executable command.
    * @param progID the executable programm identifier in the registry. If the specified prog ID is not exist, it
    * will be created.
    public void createAssociation(String commandLine, String progID)
    RegistryKey registryKey = RegistryKey.CLASSES_ROOT.createSubKey(progID+"\\shell\\open\\command", true);
    RegistryKeyValues values = registryKey.values();
    if (commandLine != null)
    values.put("", commandLine);
    else
    values.put("", "");
    registryKey.close();
    registryKey = RegistryKey.CLASSES_ROOT.createSubKey(getExtention(), true);
    values = registryKey.values();
    values.put("", progID, RegistryKeyType.SZ);
    registryKey.close();
    changeNotify();
    * Removes all associations for the file extention.
    public void removeAssociation()
    try
    RegistryKey.CLASSES_ROOT.deleteSubKey(getExtention());
    catch(RegistryException e)
    try
    RegistryKey.CURRENT_USER.openSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts").
    deleteSubKey(getExtention());
    catch(RegistryException e)
    try
    RegistryKey.LOCAL_MACHINE.openSubKey("SOFTWARE\\Classes").deleteSubKey(getExtention());
    catch (RegistryException e)
    changeNotify();
    * Returns the default executable command for the file extention.
    * @return the default executable command for the file extention.
    public String getDefaultCommand()
    RegistryKey key = RegistryKey.CLASSES_ROOT.openSubKey(getProgID());
    key = key.openSubKey("\\shell\\open\\command");
    RegistryKeyValues values = key.values();
    return values.get("").toString();
    * Returns the program identified of the default executable program.
    * @return the program identified of the default executable program.
    public String getProgID()
    RegistryKeyValues values = RegistryKey.CLASSES_ROOT.openSubKey(getExtention()).values();
    return values.get("").toString();
    * Returns <code>true</code> if a file type association for the specified extention is registered.
    * @return <code>true</code> if a file type association for the specified extention is registered.
    public boolean isRegistered()
    try
    RegistryKey.CLASSES_ROOT.openSubKey(getExtention());
    catch (RegistryException e)
    return false;
    return true;
    * Returns the file extention.
    * @return the file extention.
    public String getExtention()
    return _extention;
    private void changeNotify()
    Function function = Shell32.getInstance().getFunction(FUNCTION_SHCHANGENOTIFY.toString());
    function.invoke(null,
    new LongInt(SHCNE_ASSOCCHANGED),
    new UInt(SHCNF_IDLIST),
    new Pointer(null, true),
    new Pointer(null, true));

  • Does reader support saveAs conversion file types ?

    Hello,
    The "JavaScript for Acrobat API Reference" doc specifies that second parameter 'cConvID' of the doc.saveAs function is conversion file type id. This method is supported since 5.0 version. There is no restrictions available for reader accept security.
    I tried to convert pdf document to tiff using folder level script:
    doc.saveAs("/e/test.tiff", "com.adobe.Acrobat.tiff");
    This produced the following error: "An unimplemented or obsolete function was called". I'm sure this is not a security issue as I'm able to save the document as pdf if second parameter is not specifed.
    From another side I tried to test which conversion types are supported and executed the following code:
    for ( var i = 0; i < app.fromPDFConverters.length; i++)
    app.alert(app.fromPDFConverters[i]);
    In this case I got: "Get not possible, invalid or unknown" on app.fromPDFConverters. My document is not hidden and this app property is supported from 6.0 reader version without any restrictions.
    I don't have an idea what's wrong here - the only explanation that reader scripting does not support conversions. Online Help states these features are supported:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.524.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.110.html
    Reader versions I tested it: 9.3 and 9.3.3 with win7 and Snow Leopard. If you have any related info please share it with me.
    Thank you a lot,
    Alexey

    Hi GKaiseril, thank you for reply,
    There are my answers:
    Have you read the section about  the 'quick bar' which appears at the top of each object, property, or  method page?
    - yes, I read
    What  is the box at the far right of the bar for?
    - Availability
    What is the meaning of the  black 'S' in that box mean?
    - Requires the document save right, my document has extended usage rights including save. In addition, I'm able to save the document using saveAs function without second param specified. The problem is only reproduced if I specify conversion type id.
    Have you looked in those references for the  application object's 'viewerType'  and 'viewerVariation' properties, and the description for the quick  bars?
    - Yes, I looked. There is no such restriction for the method and property specified.
    What are the values for  those properties?
    The first box indicates that saveAs was first  added to Acrobat/Reader in version 5.0. The box at the far right of the bar show S - means you need document save right only, so saveAs function will work in  all versions and variations of Acrobat, including Adobe Reader since 5.0 version and if document have Save usage  rights.
    Have you read the section about trusted and privileged functions?
    - yes, I read. Again, I'm able to save my document without specifying the second argument  - it means my script environment and function call conditions satisfy the requirements.
    The note for the 'saveAs'  method:
    "Note: This method can only be  executed during a batch or console event. See Privileged versus  non-privileged context for details. The event object contains a discussion of JavaScript events."
    - it also can be executed from folder level scripts. For reader you need extended usage rights.
    Reader can only save as a  PDF.
    - Could you please provide more info/links for this statement? Accordingly to online help it should be possible to use "saveAs" function with conversion  type id for reader.
    How  to save a PDF with Acrobat JavaScript by Thom Parker - I read it sometime ago - did not find anything related to the issue.
    Thank you,
    Alexey

  • Mailexample.sql how do you determine the file type?

    I'm using the mailexample.sql which explains how to use the demo_mail wrapper package for utl_smtp. There's a procedure for attaching text files and a procedure for attaching binary files. I've got binary files to attach to email successfully.
    How can I determine the file type so that I can use the attach_text procedure when attaching text files rather than the procedure for attaching binary files?
    Sandy

    Watch out! I think there is a bug in that code :-
    bug with PL/SQL Sample - maildemo.sql
    To answer your question - the usual way of determining a file type is to look for 'magic numbers' in the file that indicate its type. For example, Windows exe files often (always?) begin with the two letters 'MZ'. Zip files begin with 'PK'; Rar archives begin with 'Rar!'. Text files can begin with anything, and do not have any characteristic marker, but USASCII7 (which is what the format that routine is designed for - I think), is a characterset that only uses the first 7 bits of the byte. You could read the file, and if you find any bytes > 127, then you know it is not a USASCII7 file. I have seen various programs that 'sample' the first 64 or 256 bytes of a file instead of reading the whole file, and they usually get it right.
    Hope this helps.
    Takmeister

  • Why is Get File Type.vi password protected

    Hi...  We have a code that was developed in LabVIEW 8.6...  We have a need to attempt to save this code all the way back to version 7.1...  I saved it back from 8.6 --> 8.5 --> 8.2.1 --> 8.0 with no issues...  But when I then try to save it back from 8.0 to 7.1 I encounter one LabVIEW 8 vi that has no equivalent functionality in 7.1...  And that one vi is
    C:\Program Files\National Instruments\LabVIEW 8.x\vi.lib\Utility\lvfile.llb\Get File Type.vi
    When I look at that vi in 8.x, to endeavor to see if I can replace its functionality by writing some code in 7.1, I find that the Get File Type.vi is password protected...  More out of curiousity than anything, why is that code password protected???  I wasn't aware that any of the standard purchased LabVIEW code came password protected...  Can anyone tell me why that is???  thanks...  bob..
    Solved!
    Go to Solution.

    That VI is using an internal callback into LabVIEW (i.e. non G-based code) to determine the type of the file.  I'm guessing the callback doesn't exist in 7.1, so you would need to write your own G-based implementation for getting the type of a file  in the 7.1 case.  The simplest solution would be to work with the extensions of the files...not perfect, but probably close enough assuming your files are well-named.  Also, the following VI can give you a bit more information about LabVIEW-specific files (independent of extension):
    LabVIEW 7.1\vi.lib\Utility\libraryn.llb\Librarian Get Info.vi
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • WRT610N certain file types have wrong time stamp

    Hi, I have searched this forum for a similar problem with no luck - so here goes...
    I have a WRT610N router using the latest firmware 1.00.03 B15. After upgrading the firmware I reset router for 30 sec., and then powerdown for 30 sec. as I have read on this forum, and yes the USB drive was disconnected before hand, but I still have this problem when creating/saving certain file types on the USB drive attached to the router.
    I have discovered that MS Word and PowerPoint files (.doc & .ppt) are saved with the correct date and time, but MS Excel, Notepad, and HTML files (.xls, .txt, and .mht) are saved with a time stamp that is one hour later!!! There may be other file types that are affected by this as well.
    Example: I create/save a Word file and also an Excel file at 1:00 PM, When I use Windows Explorer to view the details of the files on the USB drive, the Word file has a timestamp of 1:00 PM, but the Excel file has a timestamp of 2:00 PM (in the future). All other functions on the router seem to be OK.
    If I create these five file types on the C: drive they all have the same timestamps, I also have a Netgear SC101 NAS which shows the correct timestamps. I only have this problem when using the USB drive connected to the WRT610N. I tried this on 3 different computers - all have the same issue.
    This may seem like a minor issue, but Im using SmartSync Pro to back up all the drives on the LAN and it uses the file's timestamp to determine if it should be backedup or not. So Im concerned that backups may not be done properly, or God knows what it will do with files from the future!
    Im using WinXP SP3, the USB drive is a WD2500BEVS - 250GB with 4 partitions (largest is 120GB) all formatted as NTFS.
    I would appreciate it if others would try this and post their results here so I would know whether to bug Linksys for a fix, or if I have problems elsewhere in my configuration.  Thank you.

    Well, 15 days, 40 views, 0 replies.
    Could one kind sole, just one, please; startup Notepad, save an empty .txt file to the USB drive on the router, and then let me know if the file had the correct time stamp?
    Preferably someone with a ver 1 router, firmware 1.00.03 B15, and running WinXP SP3.
    Thanks in advance.

  • CFHTTP problem - is file-type extension required

    Hello,
    Running CF8 on Win2003/IIS. 
    I have the following simple code to check a value from another server:
    <cfhttp method="get" URL= "http://server.somewhere.com/websvc/util?a=doHTMLRequest&event=workgroupstat"   throwonerror="yes">
    <cfset theContent = "#cfhttp.FileContent#">
    <cfoutput>#theContent#</cfoutput>
    I have also tried:
    <cfhttp
      method="get"
      url="http://server.somewhere.com/websvc/util">  (with and without the ? after the word util)
      <cfhttpparam name="a" type="URL" value="doHTMLRequest">
      <cfhttpparam name="event" type="URL" value="workgroupstat">
    </cfhttp>
    The URL that is shown above returns nothing when using it within CFHTTP. If I change the URL to http://www.google.com or whatever I get the code of that page assigned to my theContent variable as expected 
    From a browser, the URL used in the cfhttp function above works fine. The request returns a simple HTML file with the following code from which I need to pull the agents_available data:
    <HTML><HEAD><TITLE>Agents Available</TITLE></HEAD><BODY><H2>workgroup:Chat</H2><H2>agents_available:1</H2><H2>agent s_logged_in:1</H2></BODY></HTML>
    I cannot understand why I can call any other page from the internet (and our network) and put it into my theContent variable but I can't call this one.  Could it be something in the structure of the URL??
    I'm thinking that the CFHTTP function cannot properly format the request without the file-type extension.
    Any ideas are appreciate.  Regards, Jerry

    Hi Ian,
    I tried your suggestions.  Used Firefox with FireBug and LiveHTTP Headers and nothing appears out of the ordinary except the Content-Length which is always 0.  It's not being redirected.  The response is 200 OK.
    i.e.:
    cfhttp.errorDetail: 
    cfhttp.text:  YES
    cfhttp.statusCode  200 OK
    cfhttp.MIMEType  Unable to determine MIME type of file.
    cfhttp.header  HTTP/1.1 200 OK Set-Cookie: JSESSIONID=88760F22E9FA8717DE807D6F1F758E9A; Path=/websvc Date: Thu, 04 Jun 2009 17:04:37 GMT Content-Length: 0 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET
    But when the URL is called directly from a browser the Content-Length is not 0.  It is 148 bytes.
    I'm using:
    <cfset Mokrynski.PageName = "_">
    <cfsetting showdebugoutput="no">
    <!---cfhttp   method="get"   url="http://server.somewhere.com/websvc/util">;  
    <cfhttpparam name="a" type="URL" value="doHTMLRequest">  
    <cfhttpparam name="event" type="URL" value="workgroupstat">
    </cfhttp--->
    <cfhttp   method="get"   url="http://server.somewhere.com/websvc/util?a=doHTMLRequest&event=workgroupstat" />
    <cfset agentCount = (cfhttp.fileContent)>
    <cfoutput>#agentCount#</cfoutput>
    <cfoutput> <p>cfhttp.errorDetail:  #cfhttp.errorDetail#</p>
    <p>cfhttp.text:  #cfhttp.text#</p>
    <p>cfhttp.statusCode  #cfhttp.statusCode#</p>
    <p>cfhttp.MIMEType  #cfhttp.MIMEType#</p>
    <p>cfhttp.header  #cfhttp.header#</p>
    </cfoutput>
    Note that there are two methods I've used - 1 used commentd out in this code.  If i change the url in the cfhttp function to ANYTHING else I get the expected result - goog.com, our site, cnn.com, whomever but not from this URL which clearly works from a browser.
    Thanks, Jerry

  • Removing obsolete file type associations from "Open With" menu

    Ever since I removed VMWare Fusion 3.x from my system, I've been unable to remove the Bootcamp file type associations that it created. For example, if I right-click on a PDF and choose Open With, this is a partial list of what I see:
    Adobe Acrobat Pro (default)
    Adobe Distiller (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Fireworks CS4
    Adobe Fireworks CS4 (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Illustrator CS4
    Adobe Illustrator (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Photoshop CS4
    Adobe Photoshop CS4 (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    ...and on and on and on. 17 additional entries for Fusion for PDS's alone. This junk is driving me crazy.
    I've tried rebuilding the Launch Services database with MacPilot and Onyx (the recommended fix that I've found on the web), but the entries still are there even after restarting Finder and rebooting my iMac. I'm at a loss to figure out how to get rid of these.
    Can anyone help me?
    Thanks!

    They are stored in the LaunchServices database. You can give this a try, but no guarantees. If you no longer use VM Fusion then I suggest following the information below on uninstalling software.
    Rebuild LaunchServices Database
    Open the Terminal application in your Utilities folder. At the prompt paste in the following command in its entirety:
    find /System/Library/Frameworks -type f -name "lsregister" -exec {} -kill -seed -r \;
    Press RETURN.
    Wait for the Terminal prompt to return after which you can quit the Terminal.
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • File type m2t is choppy during playback

    Hi,
    I've read many post on choppy playback for different file types but not found many solutions to the problems.
    My Story:
    I have Pr CS4 running on Windows 7 x64. PC Spec Quad Core 2.5G, 4G DDR2 RAM + Onboard Geforce 7100 (Dedicated RAM for this card).
    I attempt to play raw m2t files through Pr source and timeline windows without any modification... using the default window layout. The results are choppy video with audio playing fine. This is like many other people but not seen anyone with this issue using m2t as far as I've searched. AVCHD is causing many issues and it looks like the same problems.
    I have a work around that helps but is not ideal though. If I reduce the playback window to 25% it works fine. Audio and video in sync as far as I can tell... but thats the problem, it's a little to small for me.
    My question is like many others - does anyone know what could be causing this? I've read that Pr CS4 itself is causing the issue... This may be true as I've played back at full screen via VLC and windows media player. I've also renamed the files to mpeg as someone suggested but that gave me the same results.
    The kicker is that I've run the same files under a WinXP OS on the same system (32bit version so less RAM available!) and I have no problems. That makes me think it could be to do with a codec installed on XP. I had ffdshow installed on XP and also a few others. I briefly tried ffdshow on Win7 but it installs under the x86 program folder and doesn't seem interested when launching Pr, unlike when launching under XP.
    So, I'm stuck. If anyone has a magic codec out there that possibly sorts this issue out please share . Does anyone think it's WIN7 specific? I've read recently that adobe fully support Pr under WIN7 now so surely this is not the norm?
    Does anyone else know of a free HD capture tool that captures in a different format? I've used HDVSplit recently due to the scene split function that Pr doesn't supply under HD (btw....Why!?!?!?)
    Hope I find some answers soon
    Cheers,
    Docj0nes

    Just for closure this issue has been resolved now. I did not change my PC, just reverted back to using XP for a while. Tried again on Win7 recently and the vids play back perfectly fine. Update from windows rather than adobe may have fixed it as Idid not recall an adobe update being installed.

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Determine the type of the caught exception

    Hi!
    Here is my problem :
    I'm using a web service and the method I call throws different types of Exception (RemoteException, ServiceException, etc...)
    And, the reaction to the caught exception depends on its type, that's why I need to determine what type of exception i've caught. I know that with C# I use the boolean function is :
    if (exception is TypeOfException1)
        // associated reaction
    else if(exception is TypeOfException2)
       // associated reaction
    }Is there any method or any other way in Java to do that?
    Thanks a lot,
    Gan�che.

    >
    Here is my problem :
    I'm using a web service and the method I call throws different types of Exception (RemoteException, ServiceException, etc...)
    And, the reaction to the caught exception depends on its type, that's why I need to determine what type of exception i've caught. >
    try {
      // stuff that may cause exceptions..
    } catch(RemoteException re) {
      // deal with this re
    } catch(ServiceException se) {
      // deal with this se
    } catch (Throwable didNotExpectThis) {
      // exceptional!
      didNotExpectThis.printStackTrace();
    }

Maybe you are looking for

  • How do i read .epm files on my macbook pro?

    I have a hardrive I nned to open and the computoer says it does not recognize it.  In my office mates PC, she says the files end ".epm".  Is there a program I can download to make the disk readible on my macbook pro?

  • Bapi_po_create1 performance problem

    Hello All, I am creating multiple Purchase orders in one go from mulitple Purchase requisitions. For every single PR, one PO gets created. When i try to convert 10 PR's to 10 PO' s through bapi bapi_po_create1, only 5 or 6 PO's are getting created. F

  • How can i alphabetize my firefox mobile bookmarks

    in firefox for android is there something i'm missing,or an addon that does this, this seems(to me)an obviously necessary feature for any list. how can you help me?

  • Over 24 hrs to perform a 10 gig back up?

    Fios for the most part has worked well for me until lately....I have a BIG issue with the proported speed that I'm supposed to be getting 20 down and 5 up. If that is the case, please tell me why it has taken me WELL OVER 24 HRS to perform a 10 gig b

  • My ipod is asking me to restore but itunes and windows dont recognise it!

    Hey, I've been having issues with my 30GB Ipod video it started off by not loading and making a clicking noise but then it went onto automatically loading into disc mode and you can't get out of it you can reset it but it was just going back to the s