A SERVICE OF

logo

Using MediaScript 15
All MediaScript operations that take a path default to a reasonable file system when no
specifier is present in the path. The following table lists these defaults:
For example, the following MediaScript:
img.load(name @ “bike.tif”);
is equivalent to:
img.load(name @ “read:/bike.tif”);
Some MediaScript file systems are not based on the standard disk file system. The mem
specifier uses an abstract file system that is contained entirely in memory and is never
written to disk, which is useful for fast access to temporary file data. The FSNet plug-in
implements the ftp and http specifiers, which allow files to be accessed using FTP and
HTTP URLs respectively.
Creating Custom File System Aliases
To define your own file system alias, all you need to do is create an entry in the
local.properties file. Virtual file systems paths must start with an alphabetic
character, but can then contain any alpha-numeric characters. For example, if you want
MediaRich to read source media from a storage server with a UNC path of
profiles \MediaRich\Shared\Originals\Profiles
read \MediaRich\Shared\Originals\Media
results \MediaRich\Shared\Generated\MediaResults
scripts \MediaRich\Shared\Originals\Scripts
sys \MediaRich\Shared\Originals\Sys
write \MediaRich\Shared\Originals\Media
MediaScript Operation Default File System Specifier
Loading a script scripts
Loading a color management profile profiles
Saving a file to the MediaRich cache results
All other read operations read
All other write operations write
File System Specifier Default Location