Based the code:
Option Explicit
Public oSystem As ExtraSystem
Public oSessions As ExtraSessions
Public oSess As ExtraSession
Public oScrn As ExtraScreen
Sub TEST_EXTRA()
Set oSystem = CreateObject("Extra.System")
Set oSess = oSystem.Sessions.Open("C:\Program Files\Attachmate\EXTRA! X-treme9\Sessions\0894_B.edp")
With oSess
.Visible = True
.WindowState = xNORMAL
End With
Set oScrn = oSess.Screen
Debug.Print oScrn.GetString(9, 21, 5)
oScrn.PutString "CICSL", 9, 42
oScrn.SendKeys ("<Enter>")
End Sub
how to check if session _B is just opened and visible =true before:
Set oSess = oSystem.Sessions.Open("C:\Program Files\Attachmate\EXTRA! X-treme9\Sessions\0894_B.edp")
How to?
Tks
Option Explicit
Public oSystem As ExtraSystem
Public oSessions As ExtraSessions
Public oSess As ExtraSession
Public oScrn As ExtraScreen
Sub TEST_EXTRA()
Set oSystem = CreateObject("Extra.System")
Set oSess = oSystem.Sessions.Open("C:\Program Files\Attachmate\EXTRA! X-treme9\Sessions\0894_B.edp")
With oSess
.Visible = True
.WindowState = xNORMAL
End With
Set oScrn = oSess.Screen
Debug.Print oScrn.GetString(9, 21, 5)
oScrn.PutString "CICSL", 9, 42
oScrn.SendKeys ("<Enter>")
End Sub
how to check if session _B is just opened and visible =true before:
Set oSess = oSystem.Sessions.Open("C:\Program Files\Attachmate\EXTRA! X-treme9\Sessions\0894_B.edp")
How to?
Tks