![]() |
Languages »
VBScript »
General
Beginner
License: The Code Project Open License (CPOL)
VBScript version of FigletBy Prasad KhandekarA complete VBScript implementation of FIGlet |
VBScript, Windows
|
|
Advanced Search Add to IE Search |
|
|
|
||||||||||||||||
This program is a VBScript implementation of a popular freeware FIGlet. It is a program that generates text banners in a variety of typefaces comprised of letters made up of smaller ASCII characters.
In Spring 1991 inspired by the e-mail signature of Frank Sheeran and goaded on by Ian Chai, Glenn Chappell wrote a nifty little 170-line 'C' program, which he called 'newban'. This very first version circulated around the net for a couple of years. It had one font, which included only lower-case letters.
In early 1993, Ian decided 'newban' was due for a few changes. And 7-months later they came up with a completely re-written version of having 888 lines of 'C' code. This was figlet 2.0, the first real release. It had 13 fonts.
Then came the new release figlet 2.1 immediately followed by 2.1.1. This last weighed in at 1314 lines, and had over 60 fonts.
So how does figlet look. Here are a couple of samples:
______ _ _ _
| ____| (_) | | | |
| |__ _ __ _ | | ___ | |_
| __| | | / _` | | | / _ \ | __|
| | | | | (_| | | | | __/ | |_
|_| |_| \__, | |_| \___| \__|
__/ |
|___/
____ ___ __
/\ _`\ __ /\_ \ /\ \__
\ \ \L\_\/\_\ __ \//\ \ __ \ \ ,_\
\ \ _\/\/\ \ /'_ `\ \ \ \ /'__`\ \ \ \/
\ \ \/ \ \ \ /\ \L\ \ \_\ \_ /\ __/ \ \ \_
\ \_\ \ \_\\ \____ \ /\____\\ \____\ \ \__\
\/_/ \/_/ \/___L\ \ \/____/ \/____/ \/__/
/\____/
\_/__/
To use this program all you need is Windows Scripting Runtime. I have tested and developed this version under 5.6. On the command prompt, you have to type the following command:
D:\TOOLS\FIGLET>cscript //Nologo Figlet.vbs /text:[TEXT] /font:[Figlet Font Name]
Where:
The name of the figlet font is the name of the font file without '.flf' extension. You can find many fonts under the FONTS folder.
You need to run this program from the same folder in which Figlet.vbs file is present as the font files are loaded from the FONTS folder located under the same folder.
| You must Sign In to use this message board. | ||||||||
|
||||||||
|
||||||||
|
||||||||
|
||||||||
General
News
Question
Answer
Joke
Rant
Admin
|
PermaLink |
Privacy |
Terms of Use
Last Updated: 26 Nov 2008 Editor: Deeksha Shenoy |
Copyright 2008 by Prasad Khandekar Everything else Copyright © CodeProject, 1999-2009 Web20 | Advertise on the Code Project |