|
|
|
|
|
- How to find out whether a key was pressed?
- Required configuration
tapiKeyPressed (Function) In french: telToucheEnfoncée Returns the history of the keys pressed on the phone keypad since the last call to tapiKeyPressed. The history of keys pressed is automatically reinitialized. ListeTouches is string
ListeTouches = tapiKeyPressed()
IF Position(ListeTouches, "*") <> 0 THEN
Trace("La touche * a été utilisée")
END
Syntax
<Result> = tapiKeyPressed([<Call identifier>])
<Result>: Character string List of keys pressed since the last call to tapiKeyPressed.Attention This list corresponds to the history of keys used on both sides of the telephone line (incoming and outgoing sides). <Call identifier>: Optional integer Identifier of the call to be handled. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified. Remarks How to find out whether a key was pressed? To find out whether a key was pressed, use the tapiMonitoredDigit constant in the WLanguage procedure called by tapiDial or tapiListen.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|