View previous topic :: :: View next topic
|
Author |
Message |
chaoj
Active User
Joined: 03 Jun 2010 Posts: 103 Location: Dalian
|
|
|
|
I want to learn the IBM personal communication macro, the macro is written by VB ?
Where can I find the reference ?
below is the macro I recorded to log on TSO
Code: |
[PCOMM SCRIPT HEADER]
LANGUAGE=VBSCRIPT
DESCRIPTION=
[PCOMM SCRIPT SOURCE]
OPTION EXPLICIT
autECLSession.SetConnectionByName(ThisSessionName)
REM This line calls the macro subroutine
subSub1_
sub subSub1_()
autECLSession.autECLOIA.WaitForAppAvailable
autECLSession.autECLOIA.WaitForInputReady
autECLSession.autECLPS.SendKeys " EV6946"
autECLSession.autECLOIA.WaitForInputReady
autECLSession.autECLPS.SendKeys "[enter]"
autECLSession.autECLPS.WaitForAttrib 8,19,"0c","3c",3,10000
autECLSession.autECLPS.WaitForCursor 8,20,10000
autECLSession.autECLOIA.WaitForAppAvailable
autECLSession.autECLOIA.WaitForInputReady
autECLSession.autECLPS.SendKeys "CIKOQ3A8"
autECLSession.autECLOIA.WaitForInputReady
autECLSession.autECLPS.SendKeys "[enter]"
autECLSession.autECLPS.WaitForAttrib 18,5,"00","3c",3,10000
autECLSession.autECLPS.Wait 2891
autECLSession.autECLOIA.WaitForAppAvailable
autECLSession.autECLOIA.WaitForInputReady
autECLSession.autECLPS.SendKeys "[enter]"
end sub
|
|
|
Back to top |
|
 |
|
|
dick scherrer
Site Director
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
|
|
|
|
Hello,
It has been a while since i used PCOMM, but thye macro documentation is (was) included in the manual. |
|
Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2002 Location: UK
|
|
|
|
You ask:
Quote: |
the macro is written by VB |
The second line of your code:
Suggest you read things before posting. |
|
Back to top |
|
 |
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1275 Location: Israel
|
|
|
|
In the Help file (click Help | Help Contents to open it), go to the Index and type "VB".
Select "VBScripting" and you will receive the following information:
Quote: |
The VBScript language allows you to create scripts for use with Personal Communications. Presented here are some VBScript script functions that are recognized by Personal Communications. Creating or modifying scripts should be done by those who have programming experience and are knowledgeable in VBScript. A more detailed description and information can be found at the Microsoft web page (http://www.microsoft.com/vbscript) for VBScript and the IBM Personal Communications Host Access Class Library (ECL).
Click on one of the following interface objects for more information:
- autECLConnMgr
- autECLConnList
- autECLSession
- autECLPS
- autECLFieldList
- autECLOIA
- autECLXfer
- autECLWinMetrics
- autSYSTEM
Additional properties: |
All the objects in your VBscript appear here. That should be enough... |
|
Back to top |
|
 |
chaoj
Active User
Joined: 03 Jun 2010 Posts: 103 Location: Dalian
|
|
|
|
Marso wrote: |
In the Help file (click Help | Help Contents to open it), go to the Index and type "VB".
Select "VBScripting" and you will receive the following information:
Quote: |
The VBScript language allows you to create scripts for use with Personal Communications. Presented here are some VBScript script functions that are recognized by Personal Communications. Creating or modifying scripts should be done by those who have programming experience and are knowledgeable in VBScript. A more detailed description and information can be found at the Microsoft web page (http://www.microsoft.com/vbscript) for VBScript and the IBM Personal Communications Host Access Class Library (ECL).
Click on one of the following interface objects for more information:
- autECLConnMgr
- autECLConnList
- autECLSession
- autECLPS
- autECLFieldList
- autECLOIA
- autECLXfer
- autECLWinMetrics
- autSYSTEM
Additional properties: |
All the objects in your VBscript appear here. That should be enough... |
thank you very much , this is what I want ! |
|
Back to top |
|
 |
|