Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.Eudora.setSignature
on setSignature (signature) {
<<Sat, Aug 10, 1996 at 12:10:52 AM by BAD
<<Added alias folowing capability for Eudora folder
local {
sigFolder;
sigFPath;
sigFCreator};
with Eudora,eventInfo {
sigFolder = file.getSystemFolderPath () + get (setting [6214]) + ":";
if file.isAlias(sigFolder) { << Follow any aliases
sigFolder = file.followAlias(sigFolder)};
sigFolder = sigFolder + get(setting[9205]) + ":";
sigFPath = sigFolder + get (setting [7210]);
sigFCreator = get (setting [7403])};
file.sureFolder (sigFolder);
file.new (sigFPath);
file.setType (sigFPath, 'TEXT');
file.setCreator (sigFPath, sigFCreator);
file.write (sigFPath, signature)}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.