OKFontv.2


ABOUT:
The purpose of OKFont is to quickly unlock and change the permissions of font files (and only font files) so that they are easily accessible for all programs and users on your system.

If you want to find some of the specific uses for OKFont, check out this article at FontGeek.net.

INSTRUCTIONS:
Open the disk image and drag the OKFont application anywhere on your system. Drag any folder containing the files (or just the files) you want to unlock and change permissions on onto the icon. The script only unlocks and changes the permissions of the font files, not any of the other files dragged onto the icon. This is particularly helpful in a prepress environment where as a part of preparing a job, the user can drag the whole job folder onto the icon an be assured that the only the font permissions will be changed, while other files will remain unchanged

Different founderies will offer the files with different default permissions but OKFont unlocks (if needed) and changes them all to:

-- Owner: rwx
-- Group: rwx
-- Everyone: rwx

A suggested method of operation is to put OKFont on the Desktop so it is always easily accessible.

OKFont is best suited for small sets of fonts, but will change the permissions on your whole font library if you want it to. Be advised that unlocking and changing permissions on thousands of font files can take some time. For example, a folder of fonts containing 2560 font files nested in 496 file folders totaling 102.4 megabytes took 129 seconds to process on a Dual 867 Processor G4 Power Macintosh. While OKFont is running, its icon will display in the dock with the program active indicator below it as shown below:


To run OKFont from the command line in the terminal (new with version v.2. Works on OS X 10.4 and greater only) you call the utility in the following manner:

osascript pathtoOKFont.app pathtofontfiles

Below is an actual example of OKFont run from the command line:

osascript /Applications/OKFont.app /Fonts/RaYGUN/

In the example above I have OKFont located in the Applications folder on the startup drive. The fonts I want processed are in a folder called RaYGUN in a folder called Fonts on my startup drive. To work correctly, you need to have the full path to the folder or files to be processed by OKFont. You can only process one file or one folder at a time, but OKFont will unlock and change the permissions of all the font files included within a folder.

When OKFont is done running this message will appear in the terminal:

Your fonts have been unlocked and the permissions have been changed.

Below is a screen shot of an example transaction in the terminal window:



If you find OKFont helpful, please consider donating to the cause here.

SYSTEM REQUIREMENTS:
Any Macintosh with System Version 10.3 or higher with Applescript. The script should work on earlier versions of OS X but it has only been tested on 10.3 and 10.4.

DISCLAIMER:
Scott Stoel, SuperCustomized.com and/or FontGeek.net cannot be held responsible for damage to computer, any loss of data or liability that may occur from the use of OKFont. Parents, legal guardians or caregivers of minor children are responsible for the children's use of OKFontv.1. The script is offered as is with no support or guarantee, but please feel free to contact the author at scott@fontgeek.net with any questions or suggestions.

DISTRIBUTION:
OKFont is Donationware. Suggested donation is $5. Please feel free to let others know about the script if you find it useful and send them to FontGeek.net to pick up their own copy. Donate to the cause by clicking the PayPal button below.


FOR MORE INFORMATION ON FONTS:
http://www.fontgeek.net

FOR MORE INFORMATION ON PERMISSONS:
http://www.dartmouth.edu/~rc/help/faq/permissions.html

INFORMATION:
scott@fontgeek.net

DOWNLOAD:
click here

HISTORY:

v.2
Added ability to run OKFont from the command line.
Expanded error handling capability.

v.1
First Release

COPYRIGHT:
OKFontv.2 Copyright © Scott Stoel http://www.supercustomized.com/