Title: Message
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

 

Reply via email to