How to associate .bmx files with MaxIDE..?

Miscellaneous Forums/MacOS X Discussion/How to associate .bmx files with MaxIDE..?

Hello people,

I know the process of doing it. I get the Info of a .bmx file. There, under "Open with", I find and choose MaxIDE, and click "Change all". But then it gives me an error.. It says: "An unexpected error occurred (error code - 10813).".. Look here:



Anybody know how to solve this? :(

Thats precisely what I get on one of my iMacs, and yet its all fine on the other two...

As far as I know its unsolvable (reporting it to Bug section of the Apple Developer program doesn't help either).

I do suspect the Mac program isn't totally correct - in that some plist or something is missing.

Might be worth looking at : http://discussions.apple.com/thread.jspa?threadID=1140217&tstart=0

I've partially solved the problem (Change All still doesn't work, but then it never has for me), but I have found that replacing the pinfo.list file with a (correct) one solves file association and makes BlitzMax a recommended program.

That's nice. I was fiddling with the info.plist file myself, but couldn't quite make it work. I had trouble with the parameter "CFBundleSignature" in it, because that requires some key you put in the source code (as far as I understand it).

Can you perhaps share the info.plist you are using, that make it work? ;-)

Here is the correct info.plist file :

http://www.nicholaskingsley.co.uk/MiscThings/piccie.tiff

It seems that if you export to a text file, you get the incorrect file - I wonder if thats what Mark/Seb did ?

Hmm.. Okay, I edited it directly in Property List Editor. Sadly, it does not make a difference. We are talking about the file that is within the MaxIDE package, right? I got happy, because it worked with the first .bmx file I tried with. But others, it just says "There is no default application specified to open the document "xxxxx.bmx".".. It puzzles me, that it works with SOME .bmx files, but not all..?? It's not even packages, it's just friggin' text files with a .bmx extension.. How can there be a difference between two such files? This confuses the hell out of me..! I also tried to make a new .bmx file, but that will not open MaxIDE either..

And even though it's not in OS X's nature to restart the system after such changes, I tried to restart anyway. It didn't change anything.

Anyway, thanks a LOT for trying. I don't know what else to do. If you (or anyone..) have any other thoughts, please.. Yes, please.. Hehe.. :)

The first time you will be asked for the program to open the file with, but after that all BMX files should load with MaxIDE.

It might be worth deleting the LaunchServices files - the easiest way is to get Onyx and use that to do it.

It should also make MaxIDE a Recommended Program (and thus fixes the icon of BMX files).

It doesn't, unfortunately fix Change All - I still get that wretched error message for some reason. However, with the proper list file, it shouldn't be needed as the file associations would be correct.

I did have correct file icons in my Downloads folder - but nowhere else. No idea why...

I have sent a longish email to Support about this, so hopefully someone will look into it.

We should post that into the "BlitzMax Bug Reports" Forum or ?

Have done a while ago. There has been no comment on it though :(

Hey MrTAToad.

It actually helped rebuilding Launch Services.. Now all .bmx files opens with MaxIDE. Thanks a lot for your help! ;) This is good enough for me, until it gets fixed.

Simon has let Mark know about it, so hopefully any updates will come with a correct pinfo file :)