Hi. Based on this thread: I am trying to set the following properties to TRUE in Attachmate through Excel VBA.
I am using VBA in Excel, so I want to send the following commands to Attachmate:
.DisableKeystrokeProductivity=TRUE
.DisableScreenHistory=TRUE
The start of my code looks like this currently. If someone could please show me how I would set the above properties, I would appreciate it.
Note: Users are using both Extra 6.7 and Reflection 2011 R2, so this is designed to be compatible with both.
Thanks in advance for the help.
Beginning in Reflection 2011 R3 SP1, while a Reflection VBA macro is running, the productivity features and Screen History are turned off automatically to improve performance. If you want to enable these features while automation is running insert the appropriate lines in the macro:
.DisableKeystrokeProductivity=FALSE
.DisableScreenHistory=FALSE
Note: If you are using a programming tool other than Reflection VBA macros, such as Microsoft Visual Studio, VBA in Microsoft Office products, etc., set these properties to True (as described in the next section) to avoid possible performance costs introduced by these features.
I am using VBA in Excel, so I want to send the following commands to Attachmate:
.DisableKeystrokeProductivity=TRUE
.DisableScreenHistory=TRUE
The start of my code looks like this currently. If someone could please show me how I would set the above properties, I would appreciate it.
Code:
Dim myscreen As Object
Function Wait()
Do Until myscreen.OIA.XStatus <> 5
Loop
End Function
Function System()
'Assumes an open extra session
Set Sys = CreateObject("EXTRA.System")
Set Sess = Sys.Sessions.Item(1)
Sess.Activate
Set myscreen = Sess.Screen
End Function
Note: Users are using both Extra 6.7 and Reflection 2011 R2, so this is designed to be compatible with both.
Thanks in advance for the help.