Download file-kinder-10b1-as.hqx (19,324 KB)
From: jthill@netcom.com (Jim Hill)
Subject: File Kinder 1.0b1 - a type-changer in pure Applescript
This pair of scripts does what many other utilities do: it sets the creator type
of text files. So why even bother?
They illustrate several scripting techniques I haven't seen used elsewhere, that
may be useful if you want to explore AppleScript, and if you want to tinker with
them it's easy - open with the Script Editor and tinker away.
Drop an application on the main script, and it will reset itself so that all
future drops (of anything but a single application) mark text files as created by
that application; it will also, via the helper "wait for" script, make its own
icon match the resulting files.
It's fast enough to be fairly painless, it's public domain, it uses only standard
scripting components (aka OSAXen) and if you script you might find something
useful. Lemme know if it breaks on you, I'll try to help fix it.
Jim Hill