= Script MPlay = MPlay has its own textport (__Tools > Textport__) you can use to script MPlay. * MPlay has no directory structure as there is in Houdini. * Viewers are named starting at `imgview1` (for `imgview*` commands). * Viewports are numbered 0 to 15. == Commands unique to MPlay == [appendseq|Cmd:appendseq] : Append a new image sequence to the sequence in the current viewport. [loadaudio|Cmd:loadaudio] : Load a new audio file, or change the audio options. [loadseq|Cmd:loadseq] : Load a new sequence into MPlay [mplayfit|Cmd:mplayfit] : Fit the MPlay window to the image(s) displayed in the viewport. [mplayhome|Cmd:mplayhome] : Home all the viewports. [mplayprofile|Cmd:mplayprofile] : Apply a profile to MPlay. [prependseq|Cmd:prependseq] : Prepend a sequence (insert a sequence before) the sequence in the current viewport. [seqls|Cmd:seqls] : List all the sequences currently loaded. [setcomp|Cmd:setcomp] : Set the component to display. [setplane|Cmd:setplane] : Set the plane to display. == HScript commands available in MPlay == * [alias|Cmd:alias] * [end|Cmd:end] * [foreach|Cmd:foreach] * [imgviewhist|Cmd:imgviewhist] * [play|Cmd:play] * [source|Cmd:source] * [appendseq|Cmd:appendseq] * [endif|Cmd:endif] * [fplayback|Cmd:fplayback] * [imgviewtime|Cmd:imgviewtime] * [prependseq|Cmd:prependseq] * [tcur|Cmd:tcur] * [atjob|Cmd:atjob] * [excat|Cmd:excat] * [fps|Cmd:fps] * [job|Cmd:job] * [prompt|Cmd:prompt] * [time|Cmd:time] * [break|Cmd:break] * [exedit|Cmd:exedit] * [frange|Cmd:frange] * [loadaudio|Cmd:loadaudio] * [quit|Cmd:quit] * [tset|Cmd:tset] * [chblockbegin|Cmd:chblockbegin] * [exhelp|Cmd:exhelp] * [fset|Cmd:fset] * [loadseq|Cmd:loadseq] * [read|Cmd:read] * [ucd|Cmd:ucd] * [chblockend|Cmd:chblockend] * [exit|Cmd:exit] * [help|Cmd:help] * [memory|Cmd:memory] * [seqls|Cmd:seqls] * [undoctrl|Cmd:undoctrl] * [closeport|Cmd:closeport] * [exls|Cmd:exls] * [history|Cmd:history] * [message|Cmd:message] * [set|Cmd:set] * [unix|Cmd:unix] * [cmdread|Cmd:cmdread] * [exread|Cmd:exread] * [if|Cmd:if] * [mplayfit|Cmd:mplayfit] * [setcomp|Cmd:setcomp] * [upwd|Cmd:upwd] * [continue|Cmd:continue] * [exrm|Cmd:exrm] * [imgdispopt|Cmd:imgdispopt] * [mplayhome|Cmd:mplayhome] * [setenv|Cmd:setenv] * [version|Cmd:version] * [echo|Cmd:echo] * [fcur|Cmd:fcur] * [imgview|Cmd:imgview] * [mplayprofile|Cmd:mplayprofile] * [setplane|Cmd:setplane] * [while|Cmd:while] * [else|Cmd:else] * [for|Cmd:for] * [imgview2d|Cmd:imgview2d] * [openport|Cmd:openport] * [shift|Cmd:shift]