Heres a short script that i use to quickly prt a dn/tn.. after i enter the dn i capture the tn to the windows clipboard, i have metakey alt2 defined as paste.. this works well in as much as i get 50 calls a day wanting a quick change or just tn or button info.. i also have scripts that add or remove mail to a station, ie cls marks hunt and fdn.. just to speed things up... my question is, since i don't do scripts, just capture and edit, how can i make this one work better..what should i have done different? thanks
proc main
transmit "****^M"
waitfor ">"
transmit "LD 20^M"
waitfor "REQ: "
transmit "PRT^M"
waitfor "TYPE: "
transmit "DNB^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "NACT "
transmit "^M"
waitfor "TYPE: " forever
transmit "TNB^M"
waitfor "TN "
metakey alt 2
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
endproc
the
1st two lines takes you to ld 20 from any location
john poole
bellsouth business
columbia,sc
proc main
transmit "****^M"
waitfor ">"
transmit "LD 20^M"
waitfor "REQ: "
transmit "PRT^M"
waitfor "TYPE: "
transmit "DNB^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "NACT "
transmit "^M"
waitfor "TYPE: " forever
transmit "TNB^M"
waitfor "TN "
metakey alt 2
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
endproc
the
1st two lines takes you to ld 20 from any location
john poole
bellsouth business
columbia,sc