AIC. - Artificial Intelligence Command

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command >

AIC. - Artificial Intelligence Command

AIC.RecordAsyncButton

Top


MiniRobotLanguage (MRL)

 

AIC.RecordAsyncButton

DESCRIPTION

 

Intention

 

Records audio asynchronously using a button interface for control. This command combines button creation with asynchronous audio recording - pressing the button starts recording, releasing it stops. The recording happens in the background without blocking program execution.

 

Syntax

 

AIC.RecordAsyncButton|X,Y,Width,Height,Label

 

Example

 

' Create async record button

AIC.RecordAsyncButton|50,100,150,50,"Hold to Talk"

' Recording starts on press, stops on release