PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
tapiRecord (Function)
In french: telEnregistre
Saves the current communication as a".WAV" file. This function can be used to create a voice message for an answerphone. The recording is automatically stopped after the specified duration.
Example
// The answerphone is started
// The message of the caller is currently recorded
// The maximum duration is set to 60 seconds
tapiRecord("M_" + Today() + Now() + ".wav", 60, nCallID)
Syntax
<Result> = tapiRecord(<Name of WAV file> , <Maximum duration> [, <Call identifier>])
<Result>: Boolean
  • True if the recording is performed,
  • False otherwise.
<Name of WAV file>: Character string (with quotes)
Name and path of the ".WAV" file to create. The file extension must be specified.
<Maximum duration>: Integer ou Duration
Maximum duration for the recording (in seconds). This parameter can correspond to:
  • an integer corresponding to the number of seconds,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (1 s or 10 ms for example).
    New in version 23
    the direct indication of duration (1 s or 10 ms for example).
    the direct indication of duration (1 s or 10 ms for example).
<Call identifier>: Optional integer
Identifier of the call to handle. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks
Component : wd240com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment