BankPin¶
Methods to interact with the bank pin interface.
BankPin.IsOpen¶
function TRSBankPin.IsOpen(): Boolean;
function TRSBankPin.IsOpen(waitTime: Int32; interval: Int32 = -1): Boolean; overload;
Returns true if the bank pin is open.
Example:
WriteLn BankPin.IsOpen();
BankPin.ClickDigit¶
function TRSBankPin.ClickDigit(digit: Char): Boolean; override;
Clicks a bank pin digit.
Note
Original method by Olly, fixed by INeedBot.
BankPin.Enter¶
function TRSBankPin.Enter(pin: String): Boolean;
Handles entering the bank pin. Will do 4 attempts before terminating with a fatal error.
Example:
BankPin.Enter('0000');