Advocacy

  Myths
  Press

Dojo (HowTo)

  General
  Hack
  Hardware
  Interface
  Software

Reference

  Standards
  People
  Forensics

Markets

  Web

Museum

  CodeNames
  Easter Eggs
  History
  Innovation
  Sightings

News

  Opinion

Other

  Martial Arts
  ITIL
  Thought


What is a Resource?
The article in MacAddict Magazine

By:David K. Every
©Copyright 1999


The Hack: The File's Creator

Imagine we have a text file saved by Microsoft Word. We want to change the file's creator so that when we double-click on the file, SimpleText will open it instead. Here's how:

1. Find out the creator code for SimpleText by opening up a SimpleText file with Resorcerer and selecting File Info from the File menu.

This tells us that the creator code for a SimpleText document is ttxt (this is because SimpleText was originally called TeachText).

Close the document.
 
 
 
 
 

 

2. To change the Word document's creator code, you also need to know the creator code for Word.

Do this by opening a Word file with Resorcerer and selecting File Info from the File menu.

You can see that for Word the creator is "MSWD".

 

3. Select Word's creator code and replace it with "ttxt". Be careful to use the right case and spelling.

Save your changes and quit.

 

Now the Word file is a SimpleText file, and SimpleText will launch whenever you click on the edited file.

Hacking creator code is useful because you can apply it to all sorts of files.

It is important to remember that the creator hacks only work if the application can read the file type.

Tip

If you change the SimpleText creator code from ttxt to ttro, you'll make the text file read-only.


Created: JULY/98
Updated: 11/09/02


Top of page

Top of Section

Home