• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Creating Your Own Scriptable Objects > Creating a Practical Object

Creating a Practical Object

I've found that Microsoft throws out and replaces its messaging objects about as often as it does with its top management. Right now, Collaboration Data Objects (CDO) is in vogue, but next year, who knows? CDO and my Chapter 6, “Messaging Objects,” could disappear as quickly as Rick Belluzzo. (What do you mean, “who?”) This means that scripts that use CDO to send messages might work on today's Windows XP but might not work with future releases of Windows.

Because I don't want to have to update dozens of scripts when this happens, I've decided to create a simplified object that I'll use to send e-mail from all my scripts. That way, when the procedure for sending messages changes, I only have to update one WSC file. I'll call this object ScriptMail.Message.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint