===================== File: DropType_0.5_x86.zip Author: Francis Bogsanyi (fbogsany@interact.net.au) Release: 0.5 (10 May 1998) (Mother's day release; also my sister's birthday 8-)). Compatibility: R3 Intel x86 Location: contrib/util Description: Changes the mime type of files dropped on window Notes: I needed this in a hurry to fix the mime type of a couple of dozen files downloaded using N+ and ftp. It is a blatant ripoff of Scott W. Ahten's FileTyper for PR2. I could've used the source from FileTyper, but stupidly didn't check if it was available :(. Scot Hacker has had problems with the stickiness of the menus. They work fine for me, so if anyone else has problems, please let me know. Operation: - Primary mouse button click pops up a menu of available mime types to choose from. The top two items display the about box and refresh the menu. The remainder show the mime types arranged in heirarchical menus. The menu is sticky. - Secondary mouse button click pops up a menu where you can store your frequently used mime types. The menu is persistent (thanks to Marco Nelissen's PrefServer). Selecting the first menu item adds the current type to the list (provided it isn't currently present); selecting the second item removes the current type from the menu. - View shows current mime type. Drag files onto the view to set their mime type. - View is a Replicant. I have it attached to my desktop for easy access. - Menu is sticky (primary mb click-&-release keeps menu up). Caveats: - I've set the default type to application/x-zip since that's the type I usually need. - The window gets resized when a new type is chosen. - PrefServer needs to be installed for the preferences menu to work. - For preferences to be global, you need to select either the "files in a directory" or "attributes of a single file" method for permanent storage in PrefServer. What's new? - 0.5: added filter from pavel@be.com to eliminate pesky application/x-MacOS-* types for the (not yet existent) BeOS-PPC port; added filter from pavel@be.com to eliminate application signatures; fixed bug with supertypes without subtypes. - 0.4: added a persistent preferred mimetypes menu. - 0.3: moved about window and menu refresh to menu (instead of attaching them to mouse buttons); made menu heirarchical; made menu sticky. - 0.2: made view a replicant; added about window on tertiary mb click; added menu refresh on secondary mb click. Credits: Scot Hacker suggested the heirarchical & sticky menus & the menu of frequently used mime types. Marco Nelissen provided the PrefServer. Pavel Cisler provided the filter code for irrelevant mime types. =====================