"File Type Codes" in OS-X

I've just learned that these codes were probably discontinued after OS-9.  Here's why I care:
I have many QuickMail messages saved to various places on my hard disk.  While I can still run QM, this surely will not  be possible much longer.  What I'd like to do is to change all those files to TEXT files, so I can always count on being able to read them.  I thought I could use spot light to search for the QuickMail file type code then somehow change it to TEXT [or to that of Apple Mail, my present client], but that was OS 9 and other utilities, not X.  Another problem is now I don't even know the QuickMail file type code.

Regarding QuickMail, AFAIK the format was not plain text (see this format description). If you have serious stuff to convert (rather than just a few messages), take a look at Email Alchemy. You may find additional options on the eMailman site.
Regarding type and creator codes, there's quite a bit of confusion about them. These are two 4-character codes used by Mac OS to determine what a file is (type) and what application created it (creator). They are metadata, and they are not "embedded" in the file; rather, they are maintained in a distinct database. Mac OS X still used them (alongside other methods), but, in Tiger, they were officially replaced by UTIs. They were still honoured by the OS until SL, when OS support for the creator code was dropped. (Sparking a fascinating controversy among Mac afficionados.) Both codes are still there, and you can see or change them with a suitable app (eg, Quick Change), but only the type code does anything useful -- if no other file metadata is available (such as filename extension), Mac OS X will use it.
Keep in mind that the type code is metadata -- changing it does not change anything in the file itself. For instance, you can change the type code from TEXT to JPEG, but that doesn't mean you've magically transmogrified plain text into a picture. You've merely told the OS to treat this file as a picture, which will cause an error.

Similar Messages

  • Create custom code colouring for additional file types

    Hi All,
    I spend a lot of time editing .ini files in Dreamweaver (in my case langague files for custom Joomla extensions). Although the file format is extremely  simple, particularly in the way that they re used in this context, I would like to improve the readability by adding code coloring  for strins, standard text and comments.
    I haven't been able to find any really useful information on the web about how to go about doing this.
    From what i can gather, the steps are
    Get Dreamweaver to recognise the file type (editing Extensions.txt and MMDocumentTypes.xml?)
    Add the code coloringxml file.
    So far I've had no success with the first step, so haven't tried the second.
    It would be great if I caould also add it as an option in the New File dialog.
    If some kind and clever person could point me in the right direction, it would be much appreciated.
    I'm in Dreamwaever CC on Windows 7, if that's relevant
    Cheers
    Keith

    From what i can gather, the steps are
    Get Dreamweaver to recognise the file type (editing Extensions.txt and MMDocumentTypes.xml?)
    Add the code coloringxml file.
    So far I've had no success with the first step, so haven't tried the second.
    It would be great if I caould also add it as an option in the New File dialog.
    What have you tried so far that made you think that you were not successful?  To add new file extensions to be recognized in DW, you need to go to:
    Edit >> Preferences and then look for something like in this picture:
    Now this is in CS6 and I suspect the steps should be similar in CC.  If not then CC is a step backwards in terms of progress in current technology IMO.  I don't use CC so can't comment any further here.
    Good luck.

  • Dreamweaver setting wrong file type and creator codes

    First of all, I'm running Mac OS X 10.5.2 on an Intel-based
    Mac, with Dreamweaver CS3 9.0 build 3481.
    I have a site defined where I connect to my web server via
    FTP. On my server, I just upgraded my forum software to PHPBB 3.0,
    which created a new /forums/ directory. My plan is to use
    Dreamweaver to download that new /forums/ directory to my local
    site where I can edit the files. Inside the forums folder are
    several types of files, like ".php" files, ".htm" files, ".gif"
    files, etc.
    So, upon downloading the /forums/ folder to my local machine
    by dragging and dropping it (in Dreamweaver) from the remote site
    to the local site, I noticed that Dreamweaver insists on setting
    HFS file type and creator codes for files it recognizes, based on
    the filename extension.
    I've connected to the same server using the Finder and
    Transmit, and copied the remote /forums/ folder over to my local
    machine. Neither of those copies have files with file types and
    creator codes set, meaning they aren't actually set on the remote
    files and that this is indeed something Dreamweaver is doing on the
    fly as it downloads the files.
    I'm wondering if there's any way possible to disable this
    behavior, and just download the files like they are on the server?
    (File extension only). To make matters worse, on my Intel-based
    Mac, it's not even setting the proper codes, as you can see in the
    following image:
    http://homepage.mac.com/mdouma46/images/dreamweaver.png
    Notice for the ".php" document, it's attempting to set a file
    type of 'TEXT' and a creator code of 'DmWr' (DreamWeaver's creator
    code), but because the Dreamweaver developers didn't bother to take
    into account the byte-ordering differences between PowerPC Macs and
    Intel Macs, the codes are written in reverse: 'TEXT' becomes
    'TXET', and 'DmWr' becomes 'rWmD'. (If you're going to use
    low-level routines such as FSSetCatalogInfo() to set the file types
    and creator codes, you need to call CFSwapInt32HostToBig() on the
    OSType values before doing so, to make sure they're in Big-endian
    format).
    Anyone know where the conversion information is stored?
    Thanks in advance.....

    Creator codes are totally deprecated in snow leopard. as for a workaround you can use something like this.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on open these_items
    repeat with this_item in these_items
    tell application "Finder"
    set the_file to POSIX path of (this_item as alias)
    tell application "System Events"
    set default application of file (the_file) to ("Main HD:Applications:Preview.app" as alias)
    end tell
    end tell
    end repeat
    end open</pre>
    save it as an application and drop files onto it to set them to open with Preview.

  • I shoot with a Canon 7D, have Windows 7 installed on my computer, Adobe CS4 (Bridge & Photoshop). I'm trying to open the CR2 files in Bridge to adjust them before I open them up in Photoshop, but it's giving me an error code saying it's the wrong file typ

    I shoot with a Canon 7D, have Windows 7 installed on my computer, Adobe CS4 (Bridge & Photoshop). I'm trying to open the CR2 files in Bridge to adjust them before I open them up in Photoshop, but it's giving me an error code saying it's the wrong file type. I downloaded the latest updates for Adobe Raw as well as the DNG converter, however I don't want to have to convert to DNG before opening in Bridge. Please let me know what I can do to open the CR2 files directly in Bridge CS4, thank you!

    Make sure you have the right version...
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications

  • Creator Codes and File Types

    I'm on my first day with Snow Leopard and a brand new iMac. So far, so good. But I had this great little AppleScript droplet that I used all throughout Mac OS X 10.0 to 10.5 which allowed you to drop a jpeg file on it which was created in PhotoShop and it would change the Creator Code and File Type so that it would default to opening in Preview. But it doesn't work under SL now. Has something changed with Creator Codes and File Types under SL? Maybe there's another way to do this? I sure miss it - these little things that you use every day and then all of a sudden, you can't use them anymore. Any suggestions or workarounds?

    Creator codes are totally deprecated in snow leopard. as for a workaround you can use something like this.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on open these_items
    repeat with this_item in these_items
    tell application "Finder"
    set the_file to POSIX path of (this_item as alias)
    tell application "System Events"
    set default application of file (the_file) to ("Main HD:Applications:Preview.app" as alias)
    end tell
    end tell
    end repeat
    end open</pre>
    save it as an application and drop files onto it to set them to open with Preview.

  • Loops not work - File type not supported

    Hi guys and girls
    one of the imacs (10.6.7) at the site I work at has begun to display the following message when you try to select any of the loops from within garageband.
    "file type not supported" and then you have no other option other than to abort. I have tried deleting the loop directory before dragging the loops back into garageband which has always fixed any issues with loops in the past, however the error still displays.
    Can anyone shed any light on this issue?

    The message I get is "Cannot open the file. Verify that the path and file name are correct and try again".
    Please see the Microsoft support doument Windows Media Player 9 Series for Mac OS X Readme. Scroll down to the section on Playing Protected Files.
    Sometimes you can view the source code for the web page to locate the specific media file. If you copied that address and then pasted that address in File > Open URL in Windows Media Player, you may get to listen to or watch the file. This trick does not always work.

  • Adobe 8 - Unexpected Corrupt or incorrect file type warning when viewing a PDF file from the Web

    Hi,
    On downloading a PDF file from my web site using Adobe 8 on the client machine I expect the file to open automatically however I receive encounter the "File Download" dialog. It has the following warning message: "The file you are downloading cannot be opened by the default program. It is either corrupted or it has an incorrect file type. As a security precaution, it is recommended that you cancel the download."
    This issue did not occur within previously tested versions of Adobe Reader (e.g. Version 5.1).
    On investigating the issue I discovered the factor that results in Adobe 8 failing to open the file automatically is the Content-Type = "application/pdf; Charset=utf-8". However, if I intercept the response and alter the Content-Type to contain only "application/pdf;" the issue on Adobe 8 does not occur.
    I have even tested when the Content-Type contains an empty Charset (i.e. "application/pdf; Charset=") but this issue still occurs. In addition setting the Charset to other encodings (e.g. "ISO-LATIN-7", "iso-8859-1") the issue occurs.
    QUESTION(s):
    1. Why is it necessary for Adobe 8 when opening PDF files from the web to expect no Charset within the Content-Type?
    2. If this was not an issue within previous versions of Adobe surly this is a bug?
    Since I cannot ensure that the Response's Content-Type does not contain a Charset at all please can someone suggest either a work-around or more importantly a solution to the issue?
    Please Note:-
    1. Within Adobe, Edit -> Preferences -> Internet option it's compulsory for our users to have "Display PDF in browser" ticked!
    2. We cannot prevent a Charset from being present within the Content-Type of the response sent to the client, hence this issue.
    Many Thanks in advance,
    Martin.

    Bill,
    This is exactly the same behavior I observed when I rendered a PDF stored in a database through a .NET page. If I chose to save it, it would open fine after the save, but if I chose to open it in the browser without saving it, I would get the error.
    The problem was not with the PDF or Acrobat. It was with the way I was delivering the PDF. Putting the following code before my binarywrite fixed the issue completely:
    Response.ClearHeaders()
    Response.ClearContent()
    Response.ContentType = "application/octet-stream"
    Response.AddHeader("content-disposition", "attachment; filename=" + saveFilename)
    where saveFileName is the name you want to give the PDF.
    You can use 'inline' instead of 'attachment' above if you just want the PDF to open (no option to save first). You can also use 'pdf' instead of 'octet-stream' (not sure the difference).
    The trouble seems to be that .NET puts some info in the header and/or content by default prior to anything your code says to write. If you don't clear this, IE has an issue with it. Other browsers seem to ignore it.
    Bottomline is that this is an issue the website programmer needs to fix and is not something the user can fix by changing some setting(s).
    I hope this helps.

  • StreamCorruptedException : invalid Type Code AC .. In case of a network app

    Hi
    I am developing a peer-peer application here.
    What i have is a client and a server on each user, both running parallell.
    User A sends an object to User B through an ObjectOutputStream through the main thread.
    User B reads it using an ObjectInputStream and passes the object that it read, to a new ObjectOutputStream, to be passed to User C.
    User C just reads the incoming object using ObjectInputStream.
    This iteration runs successfully for the first run!
    The moment I go for the second iteration using User A, the method on User B throws a "invalid type code AC".
    class Main{
    Socket sock;
    psvm(String args[]){
    Client newCli = new Client();
    newCli.setSock(<Sets the sock after getting the port and IP address from the user>);
    sock = newCli.getSock();
    ObjectOutputStream oos = new ObjectOutputStream(sock.getOutputStream());
    oos.writeObject(new Client());
    Class Server extends thread{
    public void run(){
    while(true){
    ObjectInputStream ois = new ObjectInputStream(sock.getInputStream());
    ois.readObject();
    I read through this post on this forum and "EJP" asks that one OOS and one OIS be maintained per socket.
    So what i did was add a setter method to the Client class which stores the Socket, and called the setter method instead of creating a new ObjectOutputStream object everytime. This way one ObjectOutputStream object would be maintained per socket per client class's instance.
    class Client{
    Socket sock;
    ObjectOutputStream oos;
    //Getter and setter for sock.
    getSock()....
    setSock()....
    //Getter and setter for ObjectOutputStream
    getOos()....
    setOos(){
    oos = new ObjectOutputStream(getSock().getOutputStream());
    When i do this, the initial iteration itself fails.
    I am posting the outline of my code since it is a big file. But if writing out a smaller version of the app and posting it here will help better understand the scenario, then I'll do it.
    I am re-posting this, coz in the previous posts regarding this same issue, i found that people were writing and reading on the application. While mine is a case of a client-server send and receive.
    I am just writing multiple times at the client and reading multiple times at the server. And each time i'm creating a fresh ObjectOutputStream object, and Client object.
    I don't close the streams since that closes the sockets, but i need to keep the sockets open and send multiple objects on the same socket.
    The explanation is a bit lengthy, so let me know if something is not clear. :)
    Thanks
    Akshay

    I'd be grateful if someone can throw some light on this issue, i have to get beyond this ASAP, and i cannot find a workaround at all.. :/

  • How to convert flat file type from DAT to ASC

    hello all
    i am trying to download a flat file and trying  to upload it in another program.
    for this i am using gui_upload and gui_download function modules.
    if i download the file as ASC and upload with ASC there is no problem.
    if i download the file as DAT and upload with DAT its giving an exception invalid file type
    if i download the file as DAT and upload with  ASC  its giving an exception bad data format.
    but in real senario my customer is sending a flat file with DAT type and i am unable to upload it.
    how to solve this problem?

    Hi,
    when uploading DAT pass file type as 'ASC' and give HAS_FIELD_SEPARATOR  = 'X'.
    For other types see the code below.
    CASE P_RECTYP.
       WHEN 'DAT'.
         MOVE 'X' TO L_FLDSEP.
         MOVE 'ASC' TO L_TYPE.
       WHEN 'ASC'.
          MOVE ' ' TO L_FLDSEP.
          MOVE P_RECTYP TO L_TYPE.
       WHEN 'BIN'.
           CLEAR L_TYPE.
         MOVE P_RECTYP TO L_TYPE.
         MOVE ' ' TO L_FLDSEP.
       WHEN OTHERS.
        MOVE 'X'  TO L_FLDSEP.
        MOVE 'ASC' TO L_TYPE.
    ENDCASE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = LV_FILENAME
       FILETYPE                      = l_type
       HAS_FIELD_SEPARATOR           = l_fldsep
    Regards,
    Vasanth

  • 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:

  • Detecting file type in vba for word

    I have directories full of files on a Mac.  Most of these files are Doc files, some Txt files and some other types. Unfortunately the files don't have file extensions (not hidden but actually no file extensions).  On a PC in a macro I need to open
    these  doc files (from the Mac) and do some manipulations on the files and then save them.  I have a macro which works as long as all the files are Doc files so if I can detect the file type in my macro I can skip the non-Doc files and process only
    the Doc files.
    Is there a way in a vba for word macro to detect a file type other than by the file extension?  Or if that can't be done can I put error trapping on my Open statement that will catch an attempt to Open a non-Doc type file?
    Thanks
    Harry Spier

    If your code is running on Windows and you are in a position to install software on it, you
    may be able to get reasonably reliable detection using dsofile.dll, which you can get here:
    I really do not know whether it will work with files stored or create on Mac (and in any case, if these are old Mac .doc files, you may find that Windows Word cannot open them anyway.
    You need to
     - register the dll via regsvr32
     - in VBE, use Tools->References... to make a reference to"DSO OLE Document Properties Reader 2.1"
     - use code such as the sample below. 
    Option Explicit
    Function IsWordDoc(FullName As String) As Boolean
    ' FullName is the full path name of the file you want to check
    Dim objDocumentProperties As DSOFile.OleDocumentProperties
    IsWordDoc = False
    Set objDocumentProperties = New DSOFile.OleDocumentProperties
    ' or you can add dsoOptionOnlyOpenOLEFiles to the options and
    ' use error trapping to detect -2147217148
    objDocumentProperties.Open sFileName:=FullName, ReadOnly:=True, Options:=dsoOptionDontAutoCreate
    If objDocumentProperties.IsOleFile Then
    If objDocumentProperties.OleDocumentFormat = "MSWordDoc" Then
    IsWordDoc = True
    End If
    End If
    objDocumentProperties.Close savebeforeclose:=False
    Set objDocumentProperties = Nothing
    End Function
    Sub testIsWordDoc()
    Debug.Print IsWordDoc("c:\a\test.doc")
    Debug.Print IsWordDoc("c:\a\test.xls")
    End Sub
    You may also find that the value of the property I am checking varies and that you need to look at other things, such as 
    objDocumentProperties.SummaryProperties.ApplicationName
    but that value definitely varies according to the version of Word used to create the .doc, so you would need to discover what values it can have in a valid .doc.
    Peter Jamieson

  • [UCCx] Change volume of an audio file (java code)

    Hello guys,
    Thanks to the many examples I compiled on the subject, I was able to create a script that mixes 2 audio wav files into a 3rd one. Basically the goal is to mix a first audio file containing some speech with a second one containing some music, these files being encoded identically (8 bits, 8KHz, mono wav files). The resulting file must be encoded in the same format than the initial ones.
    The mixing operation is performed thanks to the MixingAudioInputStream library found online (it can be found here).
    It is not the most beautiful Java code (I am no developer), but it works:
    Document doc1 = (Document) promptFlux1;
    Document doc2 = (Document) promptFlux2;
    Document docFinal = (Document) promptFinal;
    javax.sound.sampled.AudioFormat formatAudio = null;
    java.util.List audioInputStreamList = new java.util.ArrayList();
    javax.sound.sampled.AudioInputStream ais1 = null;
    javax.sound.sampled.AudioInputStream ais2 = null;
    javax.sound.sampled.AudioInputStream aisTemp = null;
    javax.sound.sampled.AudioFileFormat formatFichierAudio = javax.sound.sampled.AudioSystem.getAudioFileFormat(new java.io.BufferedInputStream(doc1.getInputStream()));
    java.io.File fichierTemp = java.io.File.createTempFile("wav", "tmp");
    ais1 = javax.sound.sampled.AudioSystem.getAudioInputStream(doc1.getInputStream());
    formatAudio = ais1.getFormat();
    aisTemp = javax.sound.sampled.AudioSystem.getAudioInputStream(doc2.getInputStream());
    byte[] bufferTemp = new byte[(int)ais1.getFrameLength()];
    int nbOctetsLus = aisTemp.read(bufferTemp, 0, bufferTemp.length);
    java.io.ByteArrayInputStream baisTemp = new java.io.ByteArrayInputStream(bufferTemp);
    ais2 = new javax.sound.sampled.AudioInputStream(baisTemp, formatAudio, bufferTemp.length/formatAudio.getFrameSize());
    audioInputStreamList.add(ais1);
    audioInputStreamList.add(ais2);
    MixingAudioInputStream mixer = new MixingAudioInputStream(formatAudio, audioInputStreamList);
    javax.sound.sampled.AudioSystem.write(mixer, formatFichierAudio.getType(), fichierTemp);
    return fichierTemp;
    The only downside to this is that the music can be a little loud comparing to the speech. So I am now trying to use the AmplitudeAudioInputStream library to adjust the volume of the second file (it can be found here).
    Here are the additional lines I wrote to do this:
    ais2 = new javax.sound.sampled.AudioInputStream(baisTemp, formatAudio, bufferTemp.length/formatAudio.getFrameSize());
    org.tritonus.dsp.ais.AmplitudeAudioInputStream amplifiedAudioInputStream = new org.tritonus.dsp.ais.AmplitudeAudioInputStream(ais2, formatAudio);
    amplifiedAudioInputStream.setAmplitudeLinear(0.2F);
    audioInputStreamList.add(ais1);
    audioInputStreamList.add(amplifiedAudioInputStream);
    MixingAudioInputStream mixer = new MixingAudioInputStream(formatAudio, audioInputStreamList);
    javax.sound.sampled.AudioSystem.write(mixer, formatFichierAudio.getType(), fichierTemp);
    return fichierTemp;
    The problem is I always get the following exception when executing the code:
    could not write audio file: file type not supported: WAVE; nested exception is: java.lang.IllegalArgumentException: could not write audio file: file type not supported: WAVE (line 30, col:2)
    The error is on the last line (the write method), but after many hours of tests and research I cannot understand why this is not working... so I have added some "debugging" information to the code:
    System.out.println("file1 audio file format: " + formatFichierAudio.toString());
    System.out.println("file1 file format: " + ais1.getFormat().toString());
    System.out.println("file2 file format: " + ais2.getFormat().toString());
    System.out.println("AIS with modified volume file format: " + amplifiedAudioInputStream.getFormat().toString());
    System.out.println("Mixed AIS (final) file format: " + mixer.getFormat().toString());
    AudioFileFormat.Type[] typesDeFichiers = AudioSystem.getAudioFileTypes(mixer);
    for (int i = 0; i < typesDeFichiers.length ; i++) {
    System.out.println("Mixed AIS (final) #" + i + " supported file format: " + typesDeFichiers[i].toString());
    System.out.println("Is WAVE format supported by Mixed AIS (final): " + AudioSystem.isFileTypeSupported(AudioFileFormat.Type.WAVE, mixer));
    System.out.println("Destination file format: " + (AudioSystem.getAudioFileFormat((java.io.File)f)).toString());
    AudioInputStream aisFinal = AudioSystem.getAudioInputStream(f);
    System.out.println("Is WAVE format supported by destination file: " + AudioSystem.isFileTypeSupported(AudioFileFormat.Type.WAVE, aisFinal));
    try {
    // Ecriture du flux résultant dans un fichier
    javax.sound.sampled.AudioSystem.write(mixer, formatFichierAudio.getType(), fichierTemp);
    return fichierTemp;
    catch (Exception e) {
    System.err.println("Caught Exception: " + e.getMessage());
    Which gives the following result during execution:
    file1 audio file format: WAVE (.wav) file, byte length: 146964, data format: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame, , frame length: 146906
    file1 file format: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame,
    file2 file format: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame,
    AIS with modified volume file format: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame,
    Mixed AIS (final) file format: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame,
    Mixed AIS (final) #1 supported file format: WAVE
    Mixed AIS (final) #2 supported file format: AU
    Mixed AIS (final) #3 supported file format: AIFF
    Is WAVE format supported by Mixed AIS (final): true
    Destination file format: WAVE (.wav) file, byte length: 146952, data format: ULAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame, , frame length: 146906
    Is WAVE format supported by destination file: true
    So everything tends to show that the format should be supported and the mixed AIS should be written to the file... but I still get the error.
    I am really confused here, if someone could help it would be great.
    Thanks in advance!
    PS: I have attached print screens of the actual script, without the "volume adjustment" code.

    Hi,
    well I started writing a similar solution but it did not work either so I just put it on hold.
    I also tried to get hold of the streaming "device" abstraction of UCCX to adjust the volume while "playing" but that was a dead end, too, unfortunately.
    Sorry about my previous comment on your StackOverflow post, that time I thought it was kind of out of context but I believe you only wanted to ask about this issue on all available forums.
    G.

  • Can not select a PDF file in the file uploader window after clicking the Browse... button for a file type input element.

    After upgrading to 5 (this worked in 4) I can not select a PDF file in the File Upload dialog that appears when I click the Browse button next to an HTML file type input element. The specific HTML element source code has the attribute: ACCEPT="image/*". I can select image files such as jpg, png, tiff, etc. But not PDF. This worked great in Furefox 4 and works in the latest version of Safari.
    The HTML code for the form element is:
    INPUT TYPE="file" NAME="file_1" ACCEPT="image/*" SIZE=35
    The File Upload dialog lists all files with PDF extension as dimmed and not selectable in Firefox 5.
    Can you help?

    Hi Purush
    Unfortunately we couldn't solve the problem. Our IT specialist checked it with SAP directly. SAP doesn't support the SAP KW solution anymore. Therefore we checked-in the document in ".doc"-Format.

  • Setting the file type in a file field

    Hi,
    I wonder if any body can help i am new to web application
    development, I am developing an asp application in dreamweaver 8,
    A few of my pages contain a file field which has a file
    browse button at the end of the field which works fine,
    now i want to set the default file type to *.pdf, Currently
    when i run my app in IE 7, when i click on the file browse
    button, the file browse dialog box appears but the default
    file type is *.* (All files), is it possible to set the default
    file type
    to pdf so that when the file browse dialog is displayed the
    default file type is *.pdf in stead of *.*.
    Thanks
    Fifo

    The OS just watch the extension of the file.Not always. If you create a word doc but name it with
    some other extension, the OS still can determine that
    it is a word doc.On which OS?
    if i take foo.exe and i rename foo.doc so my OSwill
    try to open it as a MS Word Document.Again, garbage in, garbage out.What you mean?
    If I create a MS Word Document for a file .doc that is not a real .doc and it is not able to read, i will just lose cpu time and a lot of memory.
    So it is important to understand if I need really to open MS Word watching what is the real file type
    Either way, you're going to be doing way too much
    work (and wheel-reinventing) if you're going to build
    your own detection scheme.In the SDK there is not any file type checker, and if eventually really exists an OS like you say that is able to read inside the file, i prefer to have my own Java class that do that work in a safe and opensource way.
    However in my first post i've given a site with some java code that do what I need, i just was asking if anyone know if there is any ready-to-work java class that is better for doing this work.

  • File type associations limit in WP8.1

    Hi everyone!
    I'm building a music app for WP8.1 called Teh Jukebox. I am aiming to support many music file formats.
    I am however running into a huge problem due to the file type limit at certification time, only allowing 20 file types to be registered with an app.
     The reason it is a problem is because I want to make a music app that plays many music file formats, from lossy types like mp3 to lossless types like flac, along with chiptune formats such as nes, spc and vgz. Secondly I want the app to be able to
    display album art, and the album art may be in jpg format or png or gif.
     After I added support for chiptune formats I went over the limit and the certification tool told me that the app failed certification as it went over the limit.
     Here is a breakdown of the current file type support:
     lossy:
     mp3
     ogg
     m4a
     aac
     wma
     lossless:
     wav
     flac
     album art:
     png
     gif
     jpg
     jpeg
     Playlist:
     m3u
     m3u8
     chiptune:
     kss
     spc
     vgm
     vgz
     gbs
     nsf
     nsfe
     sap
     ay
     hes
     As you can see I'm over the limit at 23.
    If I don't put each file type inside my Package.appxmanifest file as a File Type Association declaration when I call StorageFolder.GetFilesAsync() I don't get the files in the list, even though they are in that folder.
    The code is all done and the formats all work but because of this limit my app can't currently be certified!
    So my question is can the limit be extended for certain apps (up to 30 would be fine!) or is there some way to add more file types that I don't know?
    Thanks all for your help
    -Alister.

    Hello Alister,
    I am not aware of any way to extend the 20 file extension limit. However, the other thing to keep in mind is
    certain file extensions are reserved by the OS and any declarations you place in the manifest will be ignored. MP3, MP4, WAV, WMV are all reserved by the OS, for
    example. The above link contains the full list.
    There are two types of reserved file types: file types reserved for Windows Phone built-in apps and file types reserved for the operating system. When a file type reserved for a built-in app is launched, only the built-in app will launch. Any attempt
    to register your app with that file type is ignored. Similarly, any attempt to register your app with a file type reserved for the operating system also will be ignored.
    -Eric
    Windows and Windows Phone Dev Center Support
    Send us your feedback about the Windows Platform

Maybe you are looking for

  • [SOLVED] Can't get DE to work with catalyst

    Hey everyone, I got problems getting KDE/Fluxbox running. I've installed the latest catalyst drivers (11.6) from AUR. "aticonfig --initial" created the xorg.conf for me, which seems to be ok but it gives me this error: Found fglrx primary device sect

  • My saves photos on DVD get this Error Code 0x80020025  How do i retrieve my

    I have backed up all my photos on the same mac mac book pro . Not only problem burning but now 3 years later when i want to load my back ups from DVD i get this error Error Code 0x80020025 i have gone on other forums and blogs and this seems to be an

  • Z10 won't display text messages, can't receive

    I performed a security wipe yesterday because my contacts were a complete mess, numbers were associated incorrectly, and I have no idea how that occured. After the security wipe, and when I highlight and click text messages, the Blackberry hub only d

  • Mouse drag freezes

    When running a fairly large vi in LV 6.1, I try to drag the application window (click on the window bar and drag), and it doesn't respond (cursor moves, but window stays in place) until I hit the control key. The the window moves to the new position.

  • Loading XML Configuration File into Java

    I have a stored procedure wrapper to a Java method (within a jar file) that has been loaded into the database. I need to load an XML configuration file in this method and parse it but get the following error. <Line 2, Column 192>: XML-24538: (Error)