just noticed something...
as to the transact values, I do not know if this is what you referred to but here it is anyway:
If I create a short macro that adds a company record, the steps in the .vbs file look like:
<snip>
' Begin transaction number 1 at form 'menu.gui.home'
sc.Transact(35)
' end Transaction
r = sc.SetFocus( "customer.id" )
'
' Begin transaction number 2 at form 'company.g'
sc.Transact(6)
' end Transaction
'
' Begin transaction number 3 at form 'company.qbe.g'
r = sc.SetValue( "SYSPARAM0", "4" )
sc.Transact(0)
' end Transaction
r = sc.SetFocus( "company.full.name" )
'
' Begin transaction number 4 at form 'company.g'
r = sc.SetValue( "customer.id", "00005" )
r = sc.SetValue( "company", "ACPE" )
r = sc.SetValue( "company.full.name", "ACPE, INC." )
sc.Transact(1)
' end Transaction
r = sc.SetFocus( "customer.id" )
</snip>
I noticed that the values that are specified in the parenthesis directly following the term "sc.Transact" correspond to the button ID values (or option values) for the button to be executed. For example, under "transaction number 1" we have the command "sc.Transact(35)". The number 35 here corresponds to the "Option #" specified for the "Companies" button on the "menu.gui.home" form.
The numbers shown in subsequent transactions correspond to the GUI Option number in the Display Screen at that point.
cheers,