I am trying to create a macro for a purchase order. I want to copy whatever I type in the item description, copy it and then cntl-d and paste it for the vendor item description (this is what prints on the po). When I create it and run it, it is copying what I type the first time instead of whatever I currently type in. When I try to go to line 2 and hit my run (i have set to use f2) button, it doesn't copy and paste anything - it runs it for the first line again. I have used the edit, select all and then copy but it is not working correctly. Any help would be appreciated.
Below is what is on the notepad:
# DEXVERSION=10.0.313.0 2 2
CheckActiveWin dictionary 'default' form 'POP_PO_Entry' window 'POP_PO_Entry'
CommandExec form BuiLtin command cmdEditSelectAll
CommandExec form BuiLtin command cmdEditCopy
MenuSelect title Options entry 'Display Vendor Item'
# Key 1:
MoveTo line 1 scrollwin 'Line_Scroll' field 'Vendor Item Description'
CommandExec form BuiLtin command cmdEditSelectAll
CommandExec form BuiLtin command cmdEditPaste
# Key 1: '36753', '16384', '0'
TypeTo line 1 scrollwin 'Line_Scroll' field 'Vendor Item Description' , 'testing'
# Key 1: '36753', '16384', '0'
MoveTo line 1 scrollwin 'Line_Scroll' field 'Location Code'
# Key 1: '36753', '16384', '0'
MoveTo line 1 scrollwin 'Line_Scroll' field 'QTY Canceled'
# Key 1: '36753', '16384', '0'
MoveTo line 1 scrollwin 'Line_Scroll' field 'Extended Cost'
TransLinePrepare scrollwin 'Line_Scroll'
# Key 1:
MoveTo line 2 scrollwin 'Line_Scroll' field 'Vendor Item Number'
MenuSelect title Options entry 'Display Vendor Item'
# Key 1:
MoveTo line 2 scrollwin 'Line_Scroll' field 'Item Number'
*This post is locked for comments
I have the same question (0)