Hello Everyone,
I am facing a problem with a particular Macro for exchange rates. This macro should enable me to
update the daily pairings (Any combination) into the System's Exchange Table Card.
The Command is as follows:
# DEXVERSION=16.00.0027.000 2 2
CheckActiveWin dictionary 'default' form 'MC_Exchange_Rate_Maintenance' window 'MC_Exchange_Rate_Maintenance'
MoveTo field 'Lookup Button 1'
ClickHit field 'Lookup Button 1'
NewActiveWin dictionary 'SmartList' form 'Exchange_Tables_Lookup' window 'Exchange_Tables_Lookup'
ActivateWindow dictionary 'SmartList' form 'Exchange_Tables_Lookup' window 'Exchange_Tables_Lookup'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
ScrollByLine down scrollwin 'Exchange_Tables_Scroll'
# Key 1: 'NOK/AUD'
MoveTo line 5 browsewin 'Exchange_Tables_Scroll'
NewActiveWin dictionary 'default' form 'MC_Exchange_Rate_Maintenance'
window 'MC_Exchange_Rate_Maintenance'
ActivateWindow dictionary 'default' form 'MC_Exchange_Rate_Maintenance' window 'MC_Exchange_Rate_Maintenance'
ActivateWindow dictionary 'default' form 'MC_Exchange_Rate_Maintenance' window 'MC_Exchange_Rate_Maintenance'
TypeTo field 'Exchange Date' , '01122017'
MoveTo field 'Expiration Date'
ActivateWindow dictionary 'default' form 'MC_Exchange_Rate_Maintenance' window 'MC_Exchange_Rate_Maintenance'
TypeTo field 'Expiration Date' , '01012018'
MoveTo field 'Exchange Rate'
TypeTo field 'Exchange Rate' , '01609400'
MoveTo field 'Insert>> Button I'
ClickHit field 'Insert>> Button I'
NewActiveWin dictionary 'default' form 'MC_Exchange_Rate_Maintenance' window 'MC_Exchange_Rate_Maintenance'
CommandExec dictionary 'default' form 'MC_Exchange_Rate_Maintenance' command 'Save Button_w_MC_Exchange_Rate_Maintenance_f_MC_Exchange_Rate_Maintenance'
As I run the Macro, an error box pops up as "Macro Command not found. (Line#31)"
Is there anyone who has run a similar macro? Or anyone knows what could be the problem here?
Thank You. Kevin
*This post is locked for comments