Try
the following VBScript....
(Paste
this code into a .VBS file)
'-------------------------------
Dim
objOutlook
On
Error Resume Next
Set
objOutlook = GetObject(,"Outlook.Application")
'If
Err = 429 Then ' Outlook isn't running 'End
If
objOutlook.Quit '-------------------------------
That
should do it.
Steve
-----Original
Message----- From: pmiller@xxxxxxx
[mailto:pmiller@xxxxxxx] Sent: 05 February 2001
09:51 To: ukha_d@xxxxxxxSubject: RE: [ukha_d]
window activation
I'm
trying to close it
Paul,
Mind if I ask what you're trying to achieve with it? Driving Outlook
via Automation is generally preferable, if it'll do the
job.
Steve
That was a project further down the line, but hey
if you've got it. Yes please I'd love to give it a
whirl.
I would like to be able to close down
outlook
Paul
Paul
Are
you just trying to send an email
If
so I have a little VB programme just to do
that
Mike
Griffiths
-----Original
Message----- From:
pmiller@xxxxxxx [mailto:pmiller@xxxxxxx] Sent: Mon 05 February 2001
08:44 To:
Ukha_D Subject:
[ukha_d] window activation
Hi,
Has
any one had any luck sending keystrokes to Microsoft Outlook (2000)?
if so what do I put for the window
title?
Paul
Yahoo! Groups
Sponsor |
|
|
|