User manual
Automation Protocol Filename-Based Commands
Miranda Technologies Ltd Page 88
Example 1:
void LoadEmergencySlide(int Layer)
{
remote_send("R0%1x%s", Layer, "Emergency.oxa");
}
Example 2:
void LoadNumberedImage(int Layer, int num)
{
//Equivalent to remote_send(“8%x %x”,Layer,num);
remote_send("R0%1xV%03d", Layer, num);
}
When no filename is specified the R0 command alternatively responds with
the name of the currently loaded file. This is useful when enquiring which
file is loaded into a layer.
CMD Param_1
R0 %1x: Layer No.
Example 3:
void EnquireFileLoaded(int Layer)
{
remote_send("R0%1x", Layer);
}
The information returned is:
Format Field Description
%c%c Cmd R0
%1x Layer Layer No.
%s Filename Confirmation of media filename,
or “>Empty<” if no file is loaded.
External fill and key is shown by
“>F1+K1<”, “>F2+K2<”, etc.