I'm new to aspect scripts. I need help passing 3 user entered variables (8 characters) from a dialog box to the following script.
proc main
waitfor "Ready...^M"
transmit "hello^M"
waitfor "Serial Port is enabled.^M"
transmit "+-"
waitfor "$ - Display memory (32-bit)^M"
transmit ">"
waitfor "I -^M"
transmit "H"
waitfor "06-29-2001 15:03:16^M"
transmit "hello^M"
waitfor "Serial Port is enabled.^M"
transmit "z"
waitfor "Preserve, Modify, or Erase current SSA ID and SERIAL NO? (P/M/E)"
transmit "M"
waitfor "Enter 8-digit BOX SN >"
transmit "00250748" ;-----------------> Variable 1
waitfor "Enter 8-digit PCB SN >"
transmit "00166237" ;-----------------> Variable 2
waitfor "Enter 6-digit SSA ID (Hex) >"
transmit "0042d3" ;-----------------> Variable 3
waitfor "Preserve, Modify, Overwrite, or Erase current feature list? (P/M/O/E)"
transmit "P"
waitfor "Start programming? (Y/N)"
transmit "Y"
waitfor "Patch programming completed^M"
transmit "E"
endproc
Please advise.
proc main
waitfor "Ready...^M"
transmit "hello^M"
waitfor "Serial Port is enabled.^M"
transmit "+-"
waitfor "$ - Display memory (32-bit)^M"
transmit ">"
waitfor "I -^M"
transmit "H"
waitfor "06-29-2001 15:03:16^M"
transmit "hello^M"
waitfor "Serial Port is enabled.^M"
transmit "z"
waitfor "Preserve, Modify, or Erase current SSA ID and SERIAL NO? (P/M/E)"
transmit "M"
waitfor "Enter 8-digit BOX SN >"
transmit "00250748" ;-----------------> Variable 1
waitfor "Enter 8-digit PCB SN >"
transmit "00166237" ;-----------------> Variable 2
waitfor "Enter 6-digit SSA ID (Hex) >"
transmit "0042d3" ;-----------------> Variable 3
waitfor "Preserve, Modify, Overwrite, or Erase current feature list? (P/M/O/E)"
transmit "P"
waitfor "Start programming? (Y/N)"
transmit "Y"
waitfor "Patch programming completed^M"
transmit "E"
endproc
Please advise.