The Quotes
COMponent consists contains three classes:
- Quotes.Data
for access to the Quotes files
- Quotes.Settings
for access to the Quotes settings
- Quotes.Signature
for access to your email signature files
Quotes.Data
contains the following important methods:
- GetQuote (for
VBA and VBScript (variant datatypes) for other languages use
the Read function)
- Read: returns
a string containing a random Quote
- FileCount:
Retrieves the number of Quotes data files in the files
directory
- RetrieveFileNames:
Access to the Quotes data files
- AddToDataFile:
to add a new Quote to a data file
- DeleteFromDataFile:
to delete an existing Quotes from a data file
- AddToClipboard:
Adds data to your clipboard
Quotes.Settings
contains the following important methods:
- ReadRegKey:
Read access to the Quotes registry (HKEY_CURRENT_USER/SOFTWARE/QUOTES)
- SaveRegKey:
Write
access to the Quotes registry
- DeleteValue:
Deletes a Quotes setting in the registry
- DeleteKey:
Deletes the entire Quotes directory in the registry
- QuotesPath:
Returns the directory in which Quotes resides
- QSaverPath:
Returns the directory in which the Quotes screensaver resides
- SetQuotesSaver:
Sets the Quotes screensaver active in Windows
- SetQuotesOnStartup:
Activate or deactivate automatic Quotes startup
Quotes.Signature
contains the following important methods:
- SaveSignature:
saves on of the signatures managed by Quotes with a new random
Quote
- Writefile:
saves a specific file with specific data (supports RTF format)
|