[comp.sys.mac.system] Which resources do I customize in System 7.0 for ...

bskendig@phoenix.Princeton.EDU (Brian Kendig) (03/14/91)

Which resources do I modify in System 7.0 to chage:

(a) the default application that's used for orphaned TEXT and PICT
files?  Right now it's TeachText, but I've heard this can be changed.
Can a different application be chosen for PICT than for TEXT?

(b) the trash can?  I have this neato-keen recycler icon that was
recently put up on sumex, you see, but I can't find any trash can icon
to replace in the System 7.0b1 Finder.  Is this possible?  And the, is
it possible to actually change the name "Trash" that comes up beneath
that icon to something else (like "Recycler")?  This _should_ be
possible to do by changing one more resource, but I can't find it.

     << Brian >>

| Brian S. Kendig      \ Macintosh |   Engineering,   | bskendig             |
| Computer Engineering |\ Thought  |  USS Enterprise  | @phoenix.Princeton.EDU
| Princeton University |_\ Police  | -= NCC-1701-D =- | @PUCC.BITNET         |
"It's not that I don't HAVE the work to *do* -- I don't DO the work I *have*."

grh@rhi.hi.is (Gisli Runar Hjaltason) (03/19/91)

In article <7156@idunno.Princeton.EDU> bskendig@phoenix.Princeton.EDU (Brian Kendig) writes:
>Which resources do I modify in System 7.0 to change:
>
>(a) the default application that's used for orphaned TEXT and PICT
>files?

I changed the default application for TEXT to MPW Shell and PICT to MacDraw a
few days ago, works well. The resource type is fmap and the ID is somewhere
around 10000.

>(b) the trash can?

The icons of the trash can, disks and folders can be changed independently.
What you have to do is do "Get Info" on the icon, click the icon in the top
left corner and paste the new icon.
-- 
==============================================================================
Gisli R. Hjaltason
grh@rhi.hi.is
  Iceland

lsr@Apple.COM (Larry Rosenstein) (03/20/91)

In article <7156@idunno.Princeton.EDU> bskendig@phoenix.Princeton.EDU (Brian Kendig) writes:
>Which resources do I modify in System 7.0 to chage:
>
>(a) the default application that's used for orphaned TEXT and PICT
>files?  Right now it's TeachText, but I've heard this can be changed.
>Can a different application be chosen for PICT than for TEXT?

The answer to the latter question is yes.  For the former, I wrote a System
Extension (called Understudy) that lets you customize this behavior without
modifying the Finder.  

Right now there is no user interface for it, so you customize it using
ResEdit.  Open the 2Map resource that is contains, and add document types
and application signatures to the list.  This list is added before the
Finder's standard list, so it will override the default behavior.

The 2Map resource comes customized such that MS Word, MacWrite 5.x, and
Write Now documents are opened by MacWrite II (since that' the environment I
have).  Using that as a guide it should be possible to figure out how to
customize it.  Once you've customized the file, put it in your system folder
and reboot.

Since the file is small, I've included it below.  It only works on System 7.
I've been using it for a couple of weeks without any problems.  If you have
comments or questions, let me know.

Larry


(This file must be converted with BinHex 4.0)
:$P9ZC'9bFh4eC(NZFfPd!&0*9#&6593K!!!!!!d0!!!!!#f#8dP8)3!#!!!0$A*
-BA8"V!!!!"B!k!)!#P9ZC'9bFh4eC(PPFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!#"%!!!!!!!!!!%P1593r2cmr)3#Mm!a3Sr!-8!!
!#*F!!!!!!!!(L`!!!!"$C`!!!!!!!!!!5#J!!!3)#1!!YS!'$JEm&4"*%J9`bXJ
a3qI0'cBZd0!43*!!5K%X9*T!Q3)Li,pr#UUi)50a$TdkC2+3!1%B-)Q6*&4qk2`
4!X$*N`3"f-5jNkI2Rd'6+J@`!mZSGa,S+89`D5N!$J3G@S!MKdLD1@2NP+'64Nm
C+@rUN!"e8fC1aM3d!AJ%+C+NeB"Q!!9&i#!JJk3#!L%%-#TC[NZMPKNTFEFa38)
G!"#`5UMR3))',)!")%#'impCc`%#"JF!"!a)J%$)))U(%L"-[Jd)i+31NR-!%)$
3mmrE%(`*))6KCSC(%RhrP#QKC%B"#"i"8i%kC33&SL$k!-Ki(Kf8U50+@%Nf`i!
l!&"J4KP*J83bGJ$Uc+-AG53f"!![G2cc8j["'b&bM+F!!kqBd8BBT4P`KJ(jr50
(EEH&J``)qT&a"K)S!1%(!$j`F!B3jccb!3i+H#(%#DPX)X3T,r"J)))rm!$JE[m
3i33N)(a`KJFJ!+%%*'F)!-S++lk!J*'TL,,LNL`bm-)"UB#$a5-TaME")@#)FKX
m!)#3!-!C1S#3!-%C0N`"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