/////////////////////////////////////////////////////////////
// Declare parameters to be used within softkey definitions.
/////////////////////////////////////////////////////////////
softkeyparms enter_dtmf return_dtmf details_dtmf;
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////
// Define a softkey to send caller’s data, followed by a terminating sequence.
softkey enter : "Enter" : "ENTER" {
// Define a softkey to send a 4-character PIN number.
softkey pin : "Enter" : "ENTER" {
// Define a softkey to go to the previous screen.
softkey return : "Previous screen" : "BACK" {
send_dtmf "$return_dtmf";
// Define a softkey to display a detailed account.
softkey details : "View details" : "VIEW" {
send_dtmf "$details_dtmf";
/////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////
// Display the initial 'Welcome' panel and prompt for account number.
load_soft_key_table 2 enter;
load_soft_key_table 3 return;
load_soft_key_table 4 details;
load_virtual_display 1 wi=1 hi=r1 "Welcome to Adsibank";
load_virtual_display " ";
load_virtual_display "SmartPhone Banking";
load_virtual_display " ";
load_virtual_display " ";
load_virtual_display " ";
load_virtual_display "then press ENTER";
input_format 1 wi=1 rl=1 "Enter acc #: ******";
input_control 5 1 lrci=c dy=1 an=0;
initialise_soft_key_line sk1=2;
// the following info statement is equivalent to start_user_input
info INKP=1 INSK=1 INAL=1 INCC=1;
// Display the PIN number entry panel. Digits entered will not be displayed.
load_virtual_display 3 wi=1 "$welcome";
load_soft_key_table 5 pin;
input_format 1 wi=1 "Enter PIN: ****";
input_control 5 1 lrci=c dy=0 an=0 page=i;
initialise_soft_key_line sk1=5;
info INKP=1 INSK=1 INAL=1 INCC=1;
// Display a menu. Only the [1] option will operate.
load_virtual_display 1 wi=1 lrci=l hi=b1
load_virtual_display "Account:1234560000";
load_virtual_display "Balance: $$3263.37";
load_virtual_display " ";
load_virtual_display "[1] Display stmnt";
load_virtual_display "[2] Transfer funds";
load_virtual_display "[3] Pay bill";
load_virtual_display "[4] Shares";
load_virtual_display "[5] Exch rates";
load_virtual_display " ";
load_virtual_display "[6] Personal banker";
input_format 1 wi=0 "Demo Account *";
input_control 1 1 lrci=l dy=0 page=i;
initialise_soft_key_line sk1=3;
// Display entries for a fictional account.
load_soft_key_table 3 return;
load_virtual_display wi=1 lrci=l
"8/11 Balance Forward 2432.23";
load_virtual_display "8/11 Credit Card -1354.32 1077.91";
load_virtual_display "8/13 Mortgage Company -1280.00 -202.09";
load_virtual_display "8/15 ATM San Francisco -100.00 -302.09";
load_virtual_display "8/15 Garage -546.34 -848.43";
load_virtual_display "8/17 ATM San Francisco -100.00 -948.43";
load_virtual_display "8/17 Finance Co -788.20 -1736.63";
load_virtual_display "8/19 Salary +5000.00 3263.37";
load_virtual_display " ";
load_virtual_display " ";
load_virtual_display " ";
initialise_soft_key_line sk1=3 sk2=4;
// Display details of an account entry
load_virtual_display 1 wi=1 lrci=c hi=r1
load_virtual_display lrci=l " ";
load_virtual_display "Account: 070872";
load_virtual_display "Transaction: 032211";
load_virtual_display "Date: 08/11/93";
load_virtual_display "Cheque No: 010021";
load_virtual_display "Payable: Credit Card ";
load_virtual_display "Amount: $$1354.32";
load_virtual_display " ";
load_virtual_display " ";
load_virtual_display " ";
initialise_soft_key_line sk1=3;
/////////////// End of adsicb.sdc script file /////////////
/////////////////////////////////////////////////////////////