From: Kevan H. <ha...@br...> - 2015-05-02 18:25:59
|
Dear Damon, > I tweaked the Info.plist file, and I’m pretty sure it’s right. In my Info.plist I have the following lines, embedded in the larger xml structure, to say it will try to open anything. <key>CFBundleTypeExtensions</key> <array><string>*</string></array> The operating system appears to have some memory of previous values for the CFBundleTypeExtension, however, so that when I change it from "*" to "yyy" it still lets me open "txt" files. I seem to recall having to re-start the finder to get the changes to be accepted. > I have it working just fine in an a couple of my apps. Here is an example open document procedure declaration. proc tk::mac::OpenDocument {args} { puts "$args" } I believe these are the only two steps I had to take with a Wish shell compiled with "make embedded" from 8.5.8 sources, and I can open documents by dropping on the icon in MacOS 10.7.5. I want to re-compile and make sure a clean application with these two steps will work, but I'm having some technical problems with the compile (don't have /Developer/Tools/Rez) so will be delayed. Yours, Kevan -- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://alignment.hep.brandeis.edu/ |