Hello,
My company has switched from Attachmate Extra! to Attachmate Reflection recently and I have been creating new macros with the new Reflection syntax.
All is going well, however I was wondering if there was a way to create a variable to shorten the extremely long Sendkey functions.
For example, to make the system send a "tab" key, you have to add ibm.CurrentScreen.SendControlKey(ControlKeyCode_Tab)
I thought I could do something like:
Set tabKey = ibm.CurrentScreen.SendControlKey(ControlKeyCode_Tab)
... but that did not work.
Any ideas on how to approach this?
Thanks for your help.
My company has switched from Attachmate Extra! to Attachmate Reflection recently and I have been creating new macros with the new Reflection syntax.
All is going well, however I was wondering if there was a way to create a variable to shorten the extremely long Sendkey functions.
For example, to make the system send a "tab" key, you have to add ibm.CurrentScreen.SendControlKey(ControlKeyCode_Tab)
I thought I could do something like:
Set tabKey = ibm.CurrentScreen.SendControlKey(ControlKeyCode_Tab)
... but that did not work.
Any ideas on how to approach this?
Thanks for your help.