Media Actions - Panasonic HMWIN User Manual

Touch
Hide thumbs Also See for HMWIN:
Table of Contents

Advertisement

Following parameters are available:
-
MediaType: Image, Video or Music. Define type of files to update.
-
Device: define storage where runtime will search new media files (ex. \USBMemory).
-
sourcePath: define folder where runtime will search new media files (ex. images).
-
Image Resize: if enabled, the macro will resize images to the size of images at runtime. This is
applicable for image media type only.
-
Silent: if enabled, will execute replace media macro without user interaction. Otherwise a dialog will
appear to allow user to select MediaType & storage where new media files are located (USB stick,
SD Card etc).
Figure 82
ReplaceMedia Macro is working in WCE and Win32 OS. When ReplaceMedia is executed in remote using
HMWIN Client or via ActiveX, files are searched on HMI local storages.
ReplaceMedia macro for Video & Music has been design to work in combination with MediaPlayer widget.
ReplaceMedia macro for Images has been design to replace project images.
Follow API Javascript for replaceMedia method:
void replaceMedia(var sourcePath, var bSilent, var Device, var nMediaType, var bResize)
project.replaceMedia("Images", true, "\USBMemory", 1, true);

9.2 Media Actions

The Media Actions macros have been created to interact with the Media Player widget at Runtime.
ACGM0195V1EN
HMWIN Studio User Manual
83

Advertisement

Table of Contents
loading

Table of Contents