Would this also work? If FocusedWindow.CaretWidth > 0 Then ...
Jamal On Mon, 28 Jul 2008, Aaron Smith wrote: > Date: Mon, 28 Jul 2008 15:01:33 -0400 > From: Aaron Smith <[EMAIL PROTECTED]> > Reply-To: gw-scripting@gwmicro.com > To: gw-scripting@gwmicro.com > Subject: Re: Blank line setting > > Michael D. Lawler wrote: > > Look at the cursor object which has a window property that you can use > > to compare with the focused window. > > More susinctly: > > If Cursor.Window.Handle = FocusedWindow.Handle Then > Speak "Well, whoopdy do!" > End If > > Aaron > > -- > To insure that you receive proper support, please include all past > correspondence (where applicable), and any relevant information > pertinent to your situation when submitting a problem report to the GW > Micro Technical Support Team. > > Aaron Smith > GW Micro > Phone: 260/489-3671 > Fax: 260/489-2608 > WWW: http://www.gwmicro.com > FTP: ftp://ftp.gwmicro.com > Technical Support & Web Development >