How are user-entered MIME applications defined to open certain file types. This used to be standard in browsers.

In the not-terribly-recent past, browser Preferences allowed users to create associations between a file type (really, a file extension indicating its type) with an application used to run that type of file. Firefox seems to have buried this (on the Mac) in ~/Library/Application Support/Firefox/... ;in which seem to be an xml file.
Is it possible to edit this xml file directly, and if so, where in the xml file should a new entry be placed, and what is the explicit syntax of an entry (other than obviously copying present entries)?
These used to be called MIMEs.

I am trying to use a rather older programming language called Mozart, an extension of OZ. I installed it as a binary, but instead of storing its component binaries in a place like /usr/local/oz/bin/. they are all enclosed inside the /Applications/Mozart.app/Contents/Resources/bin/. which cannot be opened nor can a soft link be made to it located outside the Mozart.app wrapper.
The only alternative is to try to edit the mimeTypes.rdf files, and give it the full path name to the inside of Mozart.app were the program used for web applications is stored. It is stored in ~/Library/Application Support/Mozart/, which can only be accessed in more recent Mac OS X by going to finder and holding the Option key while opening the Go menu; this will make the ~/Library visible and accessible.

Similar Messages

  • How to define the application to use for opening each file type (pdf, jpg,...)

    I installed an external application, and this new application has been configured by defect that it will be used to open all files with extensions like jpg, pdf, etc...
    I want to revert this situation and define again the proper application I want to use for opening each file type. How can I do this in Lion?
    Thanks,
    Azaldier

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • How many users from an application can connect to a SQL server at a time?

    HI,
        I need to know , How many users from an application can connect to a SQL server at a time? Do we have any settings for this in SQL server for limiting the users?

    This is a difficult question, since it is both technical and legal.
    The absolute maximum number of connections is around 32700, but unless your server is very beefy, it will choke long before that. A connection is not a user - an application can have many connections for the same user. Depending on your license
    model, you may be legally limited to a certain number of users, but this number is not enforced technially.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?

    hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.Not working in USA timezone.

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.

    This is the code which we have used.
    //////////Return if it is first time for the day or not//////////////
    + (BOOL)isFirstTimeToday {
    BOOL result = YES;
    NSDate *now = [[NSDate alloc] init];     /// represents the current time
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
    NSDate *today = [gregorian dateFromComponents:components];
    [now release];
    [gregorian release];
    NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
    if (savedDate) {
    if ([today earlierDate:savedDate] == today) {
    result = NO;
    return result;
    ////////Stores the date/////////////
    + (void)userDidVisitReenforceScreenToday {
    [[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
    ////////////What [NSDate todayAtMidnight] stores/////////////////////
    + (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
    NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
    NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
    [gregorian release];
    NSLog(@"dateAtMidnight : %@",dateAtMidnight);
    return dateAtMidnight;
    + (NSDate *)todayAtMidnight {
    return [self daysFromNowAtMidnight:0];
    Please Suggest..

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    Try posting in the developer forums to see if you can get some assistance,you'll have to be a registered developer for access though.
    developer.apple.com

  • Help - "Acrobat is being used by another application and cannot open PDF files until the other application is closed."

    Hello,
    I searched this site and google for this error terminology and come up dry.  I support a user who has been for years using Acrobat 5 (yes, I know...) to read files in a client DB program, as well as other PDF files on their PC.  In the last week or so, they have started gatting this error "Acrobat is being used by another application and cannot open PDF files until the other application is closed." any time they attempt to open a PDF file attached to an email (via Outlook).
    It is my understanding that they cannot upgrade to a newer version of Acrobat because of limitations of their client software, but had not previously had any issues viewing PDF notes from the DB, and PDF attachments in their email.
    I have tried uninstalling and re-installing, as well as tried using Adobe Reader 7 & 9 in conjunction with Acrobat to try to get around this issue, but have not been successful.
    Any ideas?
    Thanks,
    Jesse

    I don't have an answer to your technical problem. The product I assume is Acrobat that you are talking about (based on the post title), Adobe is the company name. This is a good place to ask questions on Acrobat if folks can figure out what you are talking about. They will ask for the product version number (like AA9.3.3), operating system, and other applications if appropriate. Also, just what you are doing that generates the message.
    As for Adobe, you are not likely to get an answer from them here in the user forum. You will be lucky if you can get an answer if you can contact them and not be on hold for more than an hour (sorry, this is why a lot of folks end up in the forum).
    So, to help others try to answer your question, what are the products and versions involved? What OS? What are you doing when the message comes up.

  • How to open the file types of iOSApp(ipa),EPUBFile(.epub) in windows 7(32 bit)

    How to open the file types of iOSAPP(ipa),EPUBfile(.epub) in windows 7(32 bit)

    iOS apps can be added to an iTunes library and thereafter transferred to an iOS device. They cannot be opened directly on a PC.
    epub files can be added to an iTunes library, and thereafter transferred to an iOS device where they can be read with the iBooks application. Files protected with Apple's DRM cannot be opened directly on a PC, though there are programs such as Kindle and Calibre that will open non-protected epub files.
    tt2

  • I wanted to erase my file,cause I hv about 65 G in my user disk, but I can't open my file. need help

    I wanted to erase my file,cause I hv about 65 G in my user disk, but I can't open my file. need help

    The advice you've received previously seems pretty solid, so let's troubleshoot the problem.
    evefromOz wrote:
    PLease help tech unsavvy struggler. After a grey screen and damaged HD that will not repair I was advised to copy my HD and Leopard installation to a new drive, then erase the HD and reinstall. But now can't open anything as my password wont work anymore.
    Let's concentrate on this portion of text only.
    Gray screen: usually means non-woriking or uninstalled HD
    Won't repair: makes perfect sense, since you no longer have access to HD
    Advised to copy HD and Leopard installation to a new drive, then erase the HD and reinstall: This is the most important text. It seems you don't use a backup drive. And since your HD is damaged/not working, you need to do the following: (1) remove the faulty drive, (2) install the new drive, (3) when you turn on your MBP, you may need to erase the newly installed HD, and this is where you have the problems. Describe, in detail, what's happening on your MBP screen. Is it still gray? What message are you getting? Where is it asking you for a password, and when?
    I'm intereste: since your MBP drive is dead, how are you accessing this forum?

  • "application cannot be found" when trying to open certain files

      Recently i upgraded my computer to Mavericks recently and I've been having a problem opening certain files.  In one day I upgraded to Mavericks and I also updated my Adobe programs to the Creative Cloud.  Ever since then I cannot open any of my Adobe files.  They are all saved as under the CS4 legacy format.  I uninstalled CS4 after installing the Creative Cloud.  Every time I try to open one of these files previously created in CS4, whether it is a photoshop ot illustrator file, I get the error message "The application cannot be found".  I also can see no preview or thumbnails for the files.  I talked to Adobe Support and we went through a process of deleting my preferences and it didn't work.  I restarted my machine and it worked.  It worked for a day and now after starting up my machine today it is saying the same thing again.  After a while it just out of nowhere started working again.  I'll be clear and say that I was logged into my adobe account and there were no network interuptions. 
    By the way, the new versions (Creative Cloud) of the adobe programs all work just fine and If I save something then it works fine.  It is only when trying to read a file from a previous format. 

    If you are attempting to start Adobe Creative Cloud by opening a file created by its previous version, open the Adobe Creative Cloud app first, then choose Open from its File menu and select the old file. The files you are attempting to open were associated with the version you used to create them, which is now gone.
    After opening them, save them again. From then on, opening them will probably open Adobe CC directly.

  • In Elements 12, how do I get thumbnails to show when opening a file?

    In Elements 12, how do I get thumbnails to show when opening a file?

    When in iPhoto (photos, library, an album, whatever, etc.) and I try to position the thumbnails at the top of the page I am unable to do so. In the "View" menu of iPhoto, then "Thumbnails" at the bottom, then all the items in the menu are grayed out. I have tried to go to iPhoto prefences and try there, but no luck. I get the beachball turning for a few minutes, then it stops, but still no luck.
    I have iPhoto 08, OS 10.5.8, anda PowerBook G4, 17"
    Thanks, and sorry for the brief/incomplete question.

  • In Mountain Lion, how do I find the location of an open Preview File?  The file "properties" tab is no longer available.

    I typically have several open Preview files at any one time and often forget where, sometimes if, I saved them.  In Mountain Lion, how do I find the location of an open Preview File?  Tried holding option + command in spotlight but I don't see a path name appear anywhere. 

    Yes, cmd-option on a file you choose in Spotlight and the path will appear at the bottom of the Preview window.
    EDIT: Also, if it is bookmarked the path is in Bookmarks.

  • Is there any timeline soon that apple users will be able to open things that need adobe flash player?  I can not even play any games on Facebook, I can't open certain files, pictures sent to me or things like forms I news to see when I am not home

    I am so frustrated about Adobe Flash player. I can not play any Facebook games, open certain files and pictures and documents that I need to access because not only does this phone not do it but my old Palm Pre couldn't do it either. I have had so many times where I needed to access things either online or via email, or message that I can not even look at because of this. I have to wait until I for home or ask someone else to do it for me which is embarrassing. I rave about my iPhone 4S all the time because it is truly great except for this. When it use to happen with my Pal Pre I figures once I got my iPhone that it wouldn't happen anymore but I guess I was completely wrong. I have had this problem for years and always get a message saying that it's being worked on. Well a couple of years is a long time to work on it. I understand about contracts and stuff but why is it taking a company such as Apple to be able to get it for their products? I get a lot and always want to play the games on Facebook but I can't do it on most of them at least the ones I have tried. So I can not play against anyone at that time I have to wait until I get home or use someone else's computer or something. Please tell me that in the extremely near future that this will not be a problem anymore. PLEASE!!  I am sure I am not the only one out there who is having issues and if you do get it available please let there be an upload/upgrade for current phones and not just for future versions of Apple phones. That just wouldnt be very fair to all of your loyal customers and tell everyone to get your products because they are great and end up leaving this little problem out until they by your phone.  Especially if they just got the phone they have. You guys are awesome with technology I have faith that you can make this available to all Apple products old and new by uploads or upgrades. Thank you hopefully can give me some info about the status with this or if there wen is one. I would have thought that being a company such as you are that it would already be taking care of right from the beginning and not wait years to take care of somewhat that is very important ro have especially when there is so much our there using Adobe Flash now. I am not sure if this is just a blog with customers or if the company actually sees these posts but I am just hoping company or not that someone knows something about this. Thank you for your time and for reading this entire post if you have even gotten this far.

    Oh no... NOT THE 99-PAGER!!! Anything but THAT!!!

  • How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    How do I write a javascript code to open InDesign File, import Doc, save and export to pdf?

    Hi hasvi,
    Need Template(.indt), textframes etc for the following script:
    var myFolderInd = Folder.selectDialog();
    var myFile = myFolderInd.getFiles("*indt");
    app.open(myFile)
    var myDoc = app.activeDocument;
    var myDocName = myDoc.name;
    var mySaveFile = app.activeDocument.save(myFolderInd.fsName + "/" + myDocName.split(".indt").join(".indd"));
    var myFolderDoc = Folder.selectDialog();
    var myFile1 = myFolderDoc.getFiles("*doc");
    mySaveFile.pages[0].textFrames[0].place(File(myFile1))
    //~ mySaveFile.place(File(myFile1))
    app.activeDocument.textPreferences.smartTextReflow = true;
    var myPDFFile = new File(mySaveFile.filePath + "/" + mySaveFile.name.split(".indd").join(".pdf"))
    myDoc.exportFile(ExportFormat.PDF_TYPE, File("~/Desktop/abc.pdf"));
    alert("Process Completed")
    Regards
    Siraj

  • How to open epub file in iBooks using ANE(iOS) ?

    hello,
    I tried to open epub file in iBooks using Native Extensions.
    But, AIR app has crashed when calling ANE method (following: OpenEpub).
    Have problems with how to access the epub file?
    Or another problem?
    MacOS:10.6.8
    Xcode:4.2
    FlashBulder:4.6
    FlexSDK:4.6.0(default bundle version)
    TestDevice:1st iPad (OS 5.0.1)
    iOSNativeCode(this code works on native iOS app):
    #import <UIKit/UIKit.h>
    FREObject OpenEpub(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[]){
        id delegate = [[UIApplication sharedApplication] delegate];
        UIWindow* window = [delegate window];
        UIButton* uiBtn = [[[UIButton alloc] init] retain];
        [window addSubview:uiBtn];
        NSString *fileToOpen = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"epub"];
        NSURL *url = [NSURL fileURLWithPath:fileToOpen];
        UIDocumentInteractionController *docController = [UIDocumentInteractionController interactionControllerWithURL:url];
        [docController presentOpenInMenuFromRect:CGRectZero inView:uiBtn animated:true];
        [docController retain];
         const char *str = "Success";
         FREObject retStr;
         FRENewObjectFromUTF8(strlen(str)+1, (const uint8_t *)str, &retStr);
         return retStr;
    ANE packaging directory:
    ane/
         extension.xml
         key.p12
         platform/
              iOS/
                   iOSNativeCode.a
                   library.swf
                   test.epub
    extension.xml
    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
    ~~~~
    Thanks!

    hi, i can open epub in iBooks using ANE !
        UIWindow *keyWindow= [[UIApplication sharedApplication] keyWindow];
        UIViewController *mainController = [keyWindow rootViewController];
        NSString *epubFileName= [[NSBundle mainBundle] pathForResource:@"test01" ofType:@"epub"];
        [epubFileName retain];
        NSURL *url = [NSURL fileURLWithPath:epubFileName];
        [url retain];
        UIDocumentInteractionController *docController = [UIDocumentInteractionController interactionControllerWithURL:url];
        [docController retain];
        CGRect rectDocC = CGRectMake(800, 0, 0, 0);
        [docController presentOptionsMenuFromRect:rectDocC inView:mainController.view animated:YES];
    thanks!

Maybe you are looking for

  • USB mouse and keyboard don't work on HP Pavilion g7 2203sd, Windows 8.1.

    It is not possible to use a USB mouse or keyboard on the HP Pavilion g7 2203sd notebook running Windows 8.1. A wireless mouse used to work (already some time ago), but now wired or wireless mouse and keyboard don't work any more. I have tried removin

  • How can I block IMAP access to allow only 1 external IP and all LAN IP's

    I have a PostFix/Dovecot Standard OSX server setup and functioning perfectly, but I need to make a pretty major tweak. Here is some background : I have 1 network connection that connects to the LAN and provides connection to the email server over the

  • Disappeared Acrobat in Access 2007

    My computer is running Windows 7 , CS5 (acrobat 9 pro) and Office 2007 suite (Access). I did not have any problem with Access07 until last Friday. Today I found that Acrobat tool bar is gone in Access 2007.  So I want not able to convert any Access f

  • Macbookpro screen blanks out momentarily?

    My macbook pro screen momentarily blanks out, then comes back on.  It happens very quickly, if you blink, you could miss it.  It is almost like it is "catching up".  This happens even on the home screen, when nothing is running, so the system is not

  • Itune.exe-Corrupt File

    I have an Ipod Nano which has been working fine for a long while. Today for no apparent reason, I got I got the following error message when I attached the ipod to the usb wire: "itune.exe-corrupt file ipod_control/iTune/iTunesPrefs is corrupt and un