
Automating the Setup Process
Try Scriptit to send keys. Download it from Microsoft - it is free. The
documentation that comes with it is pretty good. In effect you send keys to the
open windows by means of a macro. You can create your own sendkeys program in VB.
e.g using it on an NT4.0 Workstation
[script]
run=control.exe
control Panel={TAB}
control Panel={down 11}
control Panel={Enter}
This will bring up the mail properties(your control panel may be different to
mine because I have other company specific programs in here)
Then note the window name and tabe away to where you want to go.
Script
Quote:
-----Original Message-----
You can't use WSH to create a profile. This would have to be done using
C/C++ (or Delphi) and Extended MAPI. An alternative to this would be some
of the profile maker tools listed at
http://www.slipstick.com/exs/olroam.htm#anywhere
> Hi,
> Does anyone know how to automate the setup process of outlook, or which
> objects if any I can use to accomplish this? Currently to setup a new
user
> it's a very manual process, I should be able to automate it. So far I've
> done the following. From this point how do I select a particular service?
> '***************************************************
> ' File: OpenControlPanel.vbs
> ' Author: Andre Paris
> '
> ' Open the control panel test - a start
> '***************************************************
> Option Explicit
> Dim WshObj ' Object for the Run method
> Set WshObj = WScript.CreateObject("Wscript.Shell")
> '****End
.