While the macro is running in Dexterity Utilities, it looks like the same macro system as GP.
I'm attempting to automate making of a macro for creating a chunk file. I've made a macro of the entire process, and using that as a template had a VB.NET program create a macro based on that template (changing file names and so forth).
I'm receiving the same error as this person thread632-1331208 (Keyword or punctuation expected, but not found. (Line#15)), but I've checked and double checked and my casing is the same (copy & pasted, so it should be). Both are saved in the same encoding format.
The macros are longer, but this covers the part where it doesn't work.
Original:
Generated:
Any ideas? Thanks.
I'm attempting to automate making of a macro for creating a chunk file. I've made a macro of the entire process, and using that as a template had a VB.NET program create a macro based on that template (changing file names and so forth).
I'm receiving the same error as this person thread632-1331208 (Keyword or punctuation expected, but not found. (Line#15)), but I've checked and double checked and my casing is the same (copy & pasted, so it should be). Both are saved in the same encoding format.
The macros are longer, but this covers the part where it doesn't work.
Original:
Code:
# DEXVERSION=10.0.193.0 2 2
MenuSelect title File entry 'Open Source Dictionary...'
FileOpen file ':C:PDP_GP/Dynamics.dic' type 0
ActivateWindow dictionary 'default' form 'Main Menu' window 'DexUtils Toolbar'
MoveTo field 'Toolbar Utilities Button' item 0
ClickHit field 'Toolbar Utilities Button' item 6 # 'Extract'
NewActiveWin dictionary 'default' form Extractor window Extractor
ActivateWindow dictionary 'default' form Extractor window Extractor
ClickHit field '(L) Extract Button'
FileSave file ':C:PDP_GP/PDP_Extract.dic'
NewActiveWin dictionary 'default' form Extractor window Extractor
NewActiveWin dictionary 'default' form Extractor window Extractor
MenuSelect title File entry 'Open Destination Dictionary...'
FileOpen file ':C:PDP_GP/PDP_Extract.dic' type 0
ActivateWindow dictionary 'default' form 'Main Menu' window 'DexUtils Toolbar'
MoveTo field 'Toolbar Transfer Button' item 0
ClickHit field 'Toolbar Transfer Button' item 4 # 'Dictionary Module'
NewActiveWin dictionary 'default' form 'Build Dictionary' window 'Transfer Module'
ActivateWindow dictionary 'default' form 'Build Dictionary' window 'Transfer Module'
ClickHit field 'Common Series DDL' item 2 # 'Sales'
MoveTo field 'Resource Listbox' item 0
ClickCancel field 'Resource Listbox' item 0
ClickCancel field 'Resource Listbox' item 0
ClickHit field 'Resource Listbox' item 124 # '[Form] SOP_Entry'
MoveTo field 'Transfer Button'
ClickHit field 'Transfer Button'
Generated:
Code:
# DEXVERSION=10.0.193.0 2 2
MenuSelect title File entry 'Open Source Dictionary...'
FileOpen file ':C:PDP_GP/Dynamics.dic' type 0
ActivateWindow dictionary 'default' form 'Main Menu' window 'DexUtils Toolbar'
MoveTo field 'Toolbar Utilities Button' item 0
ClickHit field 'Toolbar Utilities Button' item 6 # 'Extract'
NewActiveWin dictionary 'default' form Extractor window Extractor
ActivateWindow dictionary 'default' form Extractor window Extractor
ClickHit field '(L) Extract Button'
FileSave file ':C:PDP_GP/Dynamics_Extract.dic'
NewActiveWin dictionary 'default' form Extractor window Extractor
NewActiveWin dictionary 'default' form Extractor window Extractor
MenuSelect title File entry 'Open Destination Dictionary...'
FileOpen file ':C:PDP_GP/Dynamics_Extract.dic' type 0
ActivateWindow dictionary 'default' form 'Main Menu' window 'DexUtils Toolbar'
MoveTo field 'Toolbar Transfer Button' item 0
ClickHit field 'Toolbar Transfer Button' item 4 # 'Dictionary Module'
NewActiveWin dictionary 'default' form 'Build Dictionary' window 'Transfer Module'
ActivateWindow dictionary 'default' form 'Build Dictionary' window 'Transfer Module'
ClickHit field 'Common Series DDL' item 2 # 'Sales'
MoveTo field 'Resource Listbox' item 0
ClickCancel field 'Resource Listbox' item 0
ClickCancel field 'Resource Listbox' item 0
ClickHit field 'Resource Listbox' item 124 # '[Form] SOP_Entry'
MoveTo field 'Transfer Button'
ClickHit field 'Transfer Button'
Any ideas? Thanks.