I am exploring the possibilities to speed up input when testing by taking advantage of macros.
The problem is when variable data has to be keyed into a field in the middle of the sequence. Reading the help-topics on WAIT I thought I could use the WaitForCursor-option, but it does not change the system mode to allow manual input.
The steps are as follows:
autECLSession.autECLPS.SendKeys "001" ‘Branch code is filled
autECLMacro "[edit-paste]" ‘Customer No is filled
autECLSession.autECLPS.SendKeys "[tab]" ‘cursor is sent to Currency field
MsgBox "Key base currency code"
‘ Now I want the macro execution to pause until I have entered a currency code
<<manual input of currency code. Upon completion, cursor automatically positions i the next field at 5,27>>
‘the cursor automatically has positioned in the Account Code field
‘Macro now to resume
Hope you can help with the missing part.
November 13, 2008 12:27 PM
March 24, 2011 5:47 PM