How to clear recently used fonts list?

Everything related to our flagship word processor.
Post Reply
Ruchama
Posts: 213
Joined: 2006-08-19 18:35:27

How to clear recently used fonts list?

Post by Ruchama » 2011-03-15 17:17:02

Is there a way to clear the recent fonts window in the font pallet, without trashing all preferences?

thanks

martin
Official Nisus Person
Posts: 4610
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: How to clear recently used fonts list?

Post by martin » 2011-03-17 11:12:04

Not at this time, sorry!

Ruchama
Posts: 213
Joined: 2006-08-19 18:35:27

Re: How to clear recently used fonts list?

Post by Ruchama » 2011-03-17 11:43:49

thanks, not even by diving into the plist file.. :(

martin
Official Nisus Person
Posts: 4610
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: How to clear recently used fonts list?

Post by martin » 2011-03-17 22:47:37

Certainly you could edit the plist to excise the unwanted fonts. Most people don't consider that an option :P You'll want to look for the key "com.nisus.lastUsedFonts".

Ruchama
Posts: 213
Joined: 2006-08-19 18:35:27

Re: How to clear recently used fonts list?

Post by Ruchama » 2011-03-17 23:39:19

Great. thanks for both answers.

Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: How to clear recently used fonts list?

Post by Kino » 2011-03-18 02:34:57

Ruchama wrote:thanks, not even by diving into the plist file.. :(
As Martin explained, you can clear the list of last used fonts by deleting com.nisus.lastUsedFonts in com.nisus.NisusWriter.plist. You can do so by executing a terminal command or by running the following NWP macro.

Code: Select all

begin Perl
	`defaults delete com.nisus.NisusWriter 'com.nisus.lastUsedFonts' 2>/dev/null`;
end
Prompt 'Last Used Fonts have been cleared', 'Save all open documents and restart Nisus Writer Pro immediately'
Unfortunately, you cannot make NWP understand the change programmatically. So you have to restart NWP manually. Perhaps you may find delete command scaring, but don’t worry. It will be re-generated when necessary.

Ruchama
Posts: 213
Joined: 2006-08-19 18:35:27

Re: How to clear recently used fonts list?

Post by Ruchama » 2011-03-18 04:01:02

thanks, kino. I shall survive the psychological barrier.. :wink: I guess typing the command in terminal is longer than opening the plist file and deleting those redundant fonts. (I could also copy the line.. ) Still, good to know that there is more than one solution.

Ruchama

Kino
Posts: 400
Joined: 2008-05-17 04:02:32

Re: How to clear recently used fonts list?

Post by Kino » 2011-03-18 04:29:22

Ruchama wrote:I guess typing the command in terminal is longer than opening the plist file and deleting those redundant fonts.
Unfortunately you cannot use a text editor to edit com.nisus.NisusWriter.plist manually, which is not a plain text file any more but a binary file in OS X 10.6.x at least. So, if you don’t have Property List Editor.app specialized in editing plist files (a component of Developer Tools), you have to run a terminal command to change com.nisus.NisusWriter.plist. The macro posted above is a kind of NWP macro wrapper of the terminal command (/usr/bin/defaults).

Dirk_Barends
Posts: 42
Joined: 2006-12-14 09:09:51

Re: How to clear recently used fonts list?

Post by Dirk_Barends » 2011-03-18 04:57:42

Ruchama wrote:I guess typing the command in terminal is longer than opening the plist file and deleting those redundant fonts.
copy and just paste

Code: Select all

defaults delete com.nisus.NisusWriter com.nisus.lastUsedFonts
in the terminal prompt worked for me, as integrating it in a shell script that I made for cleaning up after an update...

Thanks Kino!

Dirk Barends

Groucho
Posts: 496
Joined: 2007-03-03 09:55:06
Location: Europe

Re: How to clear recently used fonts list?

Post by Groucho » 2011-03-18 10:49:41

Pref Setter is an easy-to-use utility that allows you to open and edit any plist in your Mac.

Henry.

Ruchama
Posts: 213
Joined: 2006-08-19 18:35:27

Re: How to clear recently used fonts list?

Post by Ruchama » 2011-03-20 06:22:51

thanks all, problem solved.

Ruchama

Post Reply