Re: Obtain Outlook Signature in Email

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Gerry Hickman (gerry666uk_at_yahoo.co.uk)
Date: 02/04/05


Date: Fri, 04 Feb 2005 22:59:58 +0000

Hi Curtis,

What I've seen of Outlooks's object model does not impress me. Maybe
some guys here disagree? I remember all the hype about it when it first
gained scripting support, but it's almost like it became an
embarrasement. There are (a few) legitimate uses of automating an e-mail
client, specifically when the operation is very specific to the user.
e.g. the marketing person is able to automate creation of a newsletter
and you want it to be "From:" that person and have their sig etc. Most
generic automated e-mail operations would be done on a mail server though...

You can obtain information from Active Directory (assuming you have
permissions to the objects, and assuming AD is properly config'd on your
network). You'll have to be a bit more specific about what you mean by
"obtain the person's UserID".

Curtis wrote:
> Thanks for the help. I am somewhat of a novice with VBScript. I am
> self-taught and have used scripts primarily for automating desktop
> functions using Excel. This is my first venture into scripting Outlook.
> What I now need to figure out is how to access the Active Directory to
> obtain the person's userid. Do you know of any good examples that I can
> model? Thanks.
>
> Curtis
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

-- 
Gerry Hickman (London UK)


Relevant Pages

  • Re: Obtain Outlook Signature in Email
    ... > Hi Curtis, ... > What I've seen of Outlooks's object model does not impress me. ... There are legitimate uses of automating an e-mail ... especially when the subject line refers to the "outlook signature". ...
    (microsoft.public.scripting.wsh)
  • Re: Disable DOM construction
    ... >>>If you disable scripting in IE then it does not build a DOM. ... C++ objects) that represent an object model themselves. ...
    (comp.lang.javascript)
  • Ann: Browser & Application Automation library for Gambit
    ... widely used for automating the testing of web applications. ... control provides the same facility for Gambit and doubtless could be ... allows for the automating of ordinary native Windows applications ... making it more useful for scripting common Windows tasks. ...
    (comp.lang.scheme)
  • Re: Is there any global scope to any Windows Scripting ?
    ... as how to translate the 'window' ... object of the DOM into ActiveX Scripting and especially the WSH. ... model, the ADO object model, the Word object model, the Excel object ...
    (microsoft.public.scripting.wsh)
  • Re: FAQ Topic - What are object models? (2010-03-21)
    ... are provided by the host to allow javascript (or other scripting ... language) to communicate with the host. ... javascript to access a file system (Mac, Windows, and Linux are all ... The most common of all is the Document Object Model.. ...
    (comp.lang.javascript)