The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: HATI phone device


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: window activation


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: window activation
  • From: "Steve Morgan" <steve@xxxxxxx>
  • Date: Mon, 5 Feb 2001 13:20:16 -0000
  • Delivered-to: rich@xxxxxxx
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

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
-----Original Message-----
From: Steve Morgan [mailto:steve@xxxxxxx]
Sent: 05 February 2001 09:48
To: ukha_d@xxxxxxxSubject: RE: [ukha_d] window activation

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
-----Original Message-----
From: pmiller@xxxxxxx [mailto:pmiller@xxxxxxx]
Sent: 05 February 2001 09:07
To: ukha_d@xxxxxxxSubject: RE: [ukha_d] window activation

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
 
-----Original Message-----
From: Mike Griffiths [mailto:mike@xxxxxxx]
Sent: 05 February 2001 09:00
To: 'ukha_d@xxxxxxx'
Subject: RE: [ukha_d] window activation

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
www..com

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.