Yes sir, that does work.
 
However, I unfortunately am trying to open either Wordpad or even my default web browser to navigate through
some of the fields in my task log.
 
I've opened Wordpad and my browser successfully; but cannot do anything with it once it's open.
 
Your suggestions does has it's application in other areas; but what I'm failing to understand is how to interact
with a windows application after opening it.
 
Thank you,
 
Scott
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 4:25 PM
To: [EMAIL PROTECTED]
Subject: RE: [Talk] Location of Windows key strokes

have you tried a simple

Open "C:\file.txt" for output as 1

Print #1,"this is my note"

Close 1

This will build a txt file, that you can keep open to write progress notes or errors to.



Bruce Krigman
Information Systems
South Shore Hospital
781-340-8299
Inactive hide details for "White, Scott A" <[EMAIL PROTECTED]>"White, Scott A" <[EMAIL PROTECTED]>


          "White, Scott A" <[EMAIL PROTECTED]>
          Sent by: [EMAIL PROTECTED]

          11/18/04 04:21 PM

          Please respond to
          [EMAIL PROTECTED]


To

<[EMAIL PROTECTED]>

cc


Subject

RE: [Talk] Location of Windows key strokes

I guess it's not that "cut & dry" for me. Sorry folks; but for some reason I cannot get this to work.

All I'm trying to do is open WORDPAD, then enter a few lines of text and file/save it.

Sub OpenWordpad(Optional dummay As String)
Shell "C:\Program Files\Windows NT\Accessories\wordpad.exe"
On Error Resume Next

Wait 1
'Activate "wordpad"
Activate "C:\Program Files\Windows NT\Accessories\wordpad.exe"

Connect "C:\Program Files\Windows NT\Accessories\wordpad.exe", stWindows
End Sub



Sub EnteringMsg(Optional dummy As String)
Enter " This message is coming from an automated script created"
Enter "by Scott White, using Boston Workstation. 222"

SendKeys "%{F}"
End Sub


It crashes and creates and error log that I'm not sure of the location.

On a good note..... it does open WORDPAD; but doesn't place any text into it.

Thanks,
Scott

      -----Original Message-----
      From:
      [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dwight Clevenger
      Sent:
      Wednesday, November 17, 2004 11:38 AM
      To:
      [EMAIL PROTECTED]
      Subject:
      Re: [Talk] Location of Windows key strokes

      Scott,
      Boston Workstation Documentation help file has this info under 'Connections- Windows Connections'


      Thanks,

      Dwight Clevenger
      Senior System Analyst
      Baptist Health System
      615 Soledad
      San Antonio, TX. 78213
      210-297-1563

      [EMAIL PROTECTED]

      >>> [EMAIL PROTECTED] 11/17/2004 08:02:55 AM >>>

      Good morning all.
      Can someone point me to the url that houses a list of commands to use
      in BWS for controlling windows apps.?

      I'm looking for the equivalent of sending <alt+F> and <alt+P>, and things along
      those lines.

      Thank you,
      Scott

 


CONFIDENTIALITY NOTICE: This e-mail communication and any attachments
may contain confidential and privileged information for the use of the
designated recipients named above.  If you are not the intended
recipient, you are hereby notified that you have received this communication in
error and that any review, disclosure, dissemination, distribution or copying
of it or its contents is prohibited. If you have received this
communication in error, please notify Saratoga Hospital immediately by e-mail at
[EMAIL PROTECTED] and destroy all copies of this communication
and any attachments.

<<graycol.gif>>

<<ecblank.gif>>

Reply via email to