I'm a newbie with macros in Attachmate. Does anyone know if you can print screen to a file, i.e., prn?
So far, I've gotten this but coming up with a lot of errors:
' Get the necessary Session Object
Dim Sess0 As Object
Set Sess0 = System.ActiveSession
If (Sess0 is Nothing) Then
Msgbox "Could not create the Session object. Stopping macro playback."
STOP
End If
If Not Sess0.Visible Then Sess0.Visible = TRUE
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
' This section of code contains the recorded events
Open "TESTFILE" For Output As #1
Print #1, sess0
Close #1
So far, I've gotten this but coming up with a lot of errors:
' Get the necessary Session Object
Dim Sess0 As Object
Set Sess0 = System.ActiveSession
If (Sess0 is Nothing) Then
Msgbox "Could not create the Session object. Stopping macro playback."
STOP
End If
If Not Sess0.Visible Then Sess0.Visible = TRUE
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
' This section of code contains the recorded events
Open "TESTFILE" For Output As #1
Print #1, sess0
Close #1