Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Associate a file type with an application inside a package

Hi,

Long time I haven't posted in these forums...
I've just installed CrossOver an application that enables you to use Win applications in a Mac environment ( http://macamour.com/blog/2011/03/24/run-windows-applications-on-mac-without-wind ows/) which is superb, but I'm having this issue:
I'd like to associate a file type with a CrossOver application, but the CO apps are inside the package as you can see in the screenshot below:
User uploaded file

What can I do to associate a given file type with apps located there?

Mac, Lenovo and IBM user, Mac OS X (10.6.4), MBP, iMac, iPods, iPhone ...

Posted on Mar 24, 2011 3:15 PM

Reply
6 replies

Mar 24, 2011 3:30 PM in response to Hedi ®

I'm not sure if this will work, but you can navigate into that folder by typing cmd-shift-g in the choose application dialog from the Open With section of Get Info.
Type the path into the folder (/Applications/CrossOver/Applications CaseWare/) and you will go into the CrossOver/Applications CaseWare/ folder. Being that they are not Mac OS X applications, I'm not sure if the Finder can hand off the file to them even if you can select them.

Aug 31, 2011 9:58 PM in response to Hedi ®

My friends, I got the answer for you, it's quite simple.



The reason CrossOver is not opening the right application is because the files are associated with CrossOver.app rather than the windows app itself. Now, when you try to open a file with CrossOver.app, CrossOver attempts to open that file with whatever association it has in the Windows Registry from the Default Bottle.


SOLUTION:


1) In the CrossOver menu, go to


2) Programs > Run Command...


3) type "regedit" and press Enter. The Registry Editor will open.


4) In the HKEY_CLASSES_ROOT you got all the files associations. Go to the file association you are trying to fix. Ej: [HKEY_CLASSES_ROOT\.txt]


5) In the (Default) key there's a value, in this example the value is "txtfile" (do not modify this value).


6) Now that you know what the value is, go to "HKEY_CLASSES_ROOT" + the value you saw in the (Default) key + "shell\open\command". In this example it would be [HKEY_CLASSES_ROOT\txtfile\shell\open\command]


7) Modify the (Default) value in this route with the path for the .exe file you wish to use and add %1 at the end. In my case i wanted to make Notpad++ the default app to open txt files so this key became "C:\Program Files\Notepad++\notepad++.exe %1"


(If you have any doubts where the exe file for you application is, go to Configure > Manage Bottles, select your bottle, go to Advanced > Open C: Drive in finder)




I hope this helps.



Regards,

JCD

Associate a file type with an application inside a package

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.