neoFREE7: Get List of Installed Fonts


Download


This download consists of a NeoBook Function (developed using VBScript commands that are supported in NeoBook starting with version 5.6) and a sample Publication that demonstrates the deployment of this Function to load a ListBox with a list of Fonts installed on the User's machine.

After storing the gkvGetFonts file in NeoBook's Functions folder ... you can Call this Function from any pub with a command like this ...



Upon execution of the above command, variable [myFontList] will contain the Registry Entries associated with all installed Fonts. These entries are made up of the Font Name and the Font Type like so ...



The entries are separated by the Carriage Return code [#13] ... so if the List Items: property of a ListBox is set to the variable [myFontList] ... the entries will be displayed within the ListBox.

Note that if you want to use the ListBox as a tool for the user to select a Font Name ... but not the Font Type ... just follow the Call command with ...



Back