Modero RMF Command
mpullin
Posts: 949
What's the exact syntax for this command? I know it has to do with dynamic images. Is it something like this:
SEND_COMMAND TouchPanels[zone], "'^RMF-Small Playing Cover,',AMX_MAX_IP,'/art/',PATH"Mine's not working (after executing the image contains nothing), so I want to make sure I have the syntax right, to begin with.
0
Comments
Example:
SEND_COMMAND Panel,"'^RMF-Sports_Image%Lab_Test/
Images%Ftest.jpg'"
Changes the resource 'Sports_Image' file name to 'test.jpg' and the path to 'Lab_Test/Images'.
In this case, a graphic resource called i1 was already in the TPD4 file.
Looks like you can bunch up the embedded codes into a single send command if you want. I did it like this for readability.
- Chip
SEND_COMMAND TouchPanels[zone], "'^RMF-Small Playing Cover,%P0%H',AMX_MAX_IP,'%A/art/%F',PARAM,'_s.jpg'"
Of course, I didn't really understand what was going on. But now I do!
%H - sets host
%A - sets directory
%F - sets filename
%P - sets protocol? (guess)
There's a whole chart in Software History that lists the embedded codes and what each one does.
Stop reverse-engineering code - Software History is your friend!
- Chip