Re: move font file from font folder
Re: move font file from font folder
- Subject: Re: move font file from font folder
- From: Daniel Robinson <email@hidden>
- Date: Tue, 01 May 2001 00:04:14 -0400
OK, iDo is out. But the original problem still remains.
Run the script below (as suggested by Dave Balderstone) as an applet replacing the name
"Copperplate" with a the name of a duplicate suitcase of your choosing.
By moving the Fonts folder out of the system folder you can remove fonts, but you still
can't empty the trash because copperplate is still active and appears on font menus even
though its in the trash.
The burning question becomes, "How do you delete and deactivate a font, using vanilla
AppleScript, without restarting."
(Force-quitting Finder doesn't do it either)
Regards,
--Dan
------------------------------------------------------------------------
tell application "Finder"
activate
select folder "Fonts" of folder "System Folder" of startup disk
move selection to startup disk
select suitcase "Copperplate" of folder "Fonts" of startup disk
delete selection
select folder "Fonts" of startup disk
move selection to folder "System Folder" of startup disk
end tell
------------------------------------------------------------------------
"M.S.R.F. Schonewille" wrote:
>
Hi Daniel,
>
>
Thanks for the advice. I still don't want to use iDo, though. I don't want people to
>
install other software, only because they want to use mine. I want to offer a complete
>
product that is ready for use. Btw, I am creating a control panel myself and I don't
>
think that people want to install a control panel only because they want to use mine.
>
I still don't see why you would trash the Fonts folder and restart the mac. If you remove
>
a font from the Fonts folder and quit all applications, the fonts appear in the menus
>
after opening the apps again. What's the problem?
>
>
Kind regards,
>
>
Mark
>
>
Daniel Robinson wrote:
>
>
> M. Schonewille,
>
>
>
> I understand your reluctance.
>
>
>
> a. iDo is a free control panel and extension, not an OSAX
>
>
>
> b. it works fine with OS 9.1
>
>
>
> c. I Trashed the Fonts folder and restarted the Mac because active fonts can not be
>
> removed from the fonts folder while an application (including Script Editor or an
>
> applet) is running. This way, the old fonts become inactive. Something that does not
>
> otherwise occur.
>
>
>
> Good Luck,
>
>
>
> --Dan