It's not a secret, it's decently documented on Apple's site. The registration happens when you start the app. The OS reads the "Contents/Info.plist" that's inside the app when you launch it.
.hc On Feb 12, 2008, at 6:46 PM, marius schebella wrote: > true. it is apple's big secret where exactly this gets registered... > marius. > > Hans-Christoph Steiner wrote: >> Yup, fun fun fun. I have found that it'll only register a given >> copy of Pd if you run it. >> .hc >> On Feb 12, 2008, at 5:27 PM, marius schebella wrote: >>> the latest on this topic. I finally figured out, why osx >>> associates so many Pd versions with the *.pd file extension. osx >>> indexes also applications that are not in the /Applications >>> folder at all, but somewhere on the harddrive (for example in >>> "build" folders or downloaded files folders). >>> I only got rid of these versions in the "open with" entries by >>> deleting the unwanted apps themselves. both "open with" and also >>> the drop down menu in the get info dialog are working again. >>> I also think different release versions which use the same pref >>> file, like org.puredata.plist (in ~/Library/Preferences) will >>> always switch to the newest version by default, therefore you >>> cannot chose version 40-2 if there is also a version 40-3, 41.0. >>> since some pd versions use a different name for the prefs file, >>> it is sometimes possible to set another pd version as the default >>> app for *.pd files. >>> marius. >>> >>> marius schebella wrote: >>>> Yes, that is true, but it was the only possibility to get rid of >>>> the double entries. at least the only one that I found. >>>> marius. >>>> Hans-Christoph Steiner wrote: >>>>> >>>>> Watch out, I am pretty sure that it deletes all your >>>>> associations as well, and will prompt you again with the "this >>>>> App hasn't been run before, run it?" dialog. >>>>> >>>>> .hc >>>>> >>>>> On Oct 31, 2007, at 12:44 PM, Dafydd Hughes wrote: >>>>> >>>>>> boy. i'm gonna bookmark this one! >>>>>> >>>>>> On 31-Oct-07, at 12:39 PM, marius schebella wrote: >>>>>> >>>>>>> I finally found the solution to this annoying problem. >>>>>>> you have to rebuild the launch service database (see http:// >>>>>>> www.macosxhints.com/article.php?story=20031215144430486 ) >>>>>>> I ran the following command, and that fixed it. >>>>>>> >>>>>>> /System/Library/Frameworks/ApplicationServices.framework/ >>>>>>> Frameworks/LaunchServices.framework/Support/lsregister -kill - >>>>>>> r -domain local -domain system -domain user >>>>>>> >>>>>>> marius. >>>>>>> >>>>>>> Hans-Christoph Steiner wrote: >>>>>>>> This is a bug I run into a lot. Basically, if you have a >>>>>>>> lot of versions of Pd, it confused the assocations system. >>>>>>>> Try removing random ones. I have found that I have to clean >>>>>>>> out the associations system from time to time because I am >>>>>>>> always trying many different versions. >>>>>>>> I forgot how to do it now... I think it's done by deleting >>>>>>>> some file in /Library/Caches and rebooting. >>>>>>>> .hc >>>>>>>> On Oct 2, 2007, at 11:45 AM, marius schebella wrote: >>>>>>>>> yes, that should do it, but not here. when I select Pd- >>>>>>>>> extended it >>>>>>>>> immediately get reset. there must be some hidden mechanism >>>>>>>>> that always >>>>>>>>> choses the newer version or a file where that is stored... >>>>>>>>> I have no clue what I have to search for to get this fixed. >>>>>>>>> marius. >>>>>>>>> >>>>>>>>> Dafydd Hughes wrote: >>>>>>>>>> Hi Marius >>>>>>>>>> >>>>>>>>>> This worked for me: >>>>>>>>>> >>>>>>>>>> In Finder, Get Info on any Pd file, Open With -> choose >>>>>>>>>> your version >>>>>>>>>> -> Change All... >>>>>>>>>> >>>>>>>>>> Hope this helps >>>>>>>>>> >>>>>>>>>> cheers >>>>>>>>>> dafydd >>>>>>>>>> >>>>>>>>>> On 10/2/07, marius schebella <[EMAIL PROTECTED]> >>>>>>>>>> wrote: >>>>>>>>>>> Hi, >>>>>>>>>>> I have two versions of pd-extended on my mac: pd-extended >>>>>>>>>>> (0.39) and >>>>>>>>>>> pd-0.40.3-extended. I want all pd files to be opened with >>>>>>>>>>> 0.39 by default. >>>>>>>>>>> Instead os x tries to open all Pd files with a version >>>>>>>>>>> (0.40.3) which I >>>>>>>>>>> deleted some time ago. >>>>>>>>>>> oh, how I hate stupid MACOS X! >>>>>>>>>>> anyway, how can I change that. I tried to use >>>>>>>>>>> applications like xray, >>>>>>>>>>> but whenever I change the settings to the older version >>>>>>>>>>> it gets >>>>>>>>>>> overwritten by that fascist OS that thinks it is cleverer >>>>>>>>>>> than me. >>>>>>>>>>> marius. >>>>>>>>>>> >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> PD-list@iem.at mailing list >>>>>>>>>>> UNSUBSCRIBE and account-management -> http:// >>>>>>>>>>> lists.puredata.info/listinfo/pd-list >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> PD-list@iem.at mailing list >>>>>>>>> UNSUBSCRIBE and account-management -> http:// >>>>>>>>> lists.puredata.info/listinfo/pd-list >>>>>>>> --------------------------------------------------------------- >>>>>>>> ------------- Man has survived hitherto because he was too >>>>>>>> ignorant to know how to realize his wishes. Now that he can >>>>>>>> realize them, he must either change them, or perish. - >>>>>>>> William Carlos Williams >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> www.sideshowmedia.ca >>>>>> skype: chickeninthegrass >>>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------ >>>>> ---------- >>>>> >>>>> Access to computers should be unlimited and total. - the >>>>> hacker ethic >>>>> >>>>> >>>>> >> --------------------------------------------------------------------- >> ------- http:// >> at.or.at/hans/ ------------------------------------------------------------------------ ---- All information should be free. - the hacker ethic _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list