accessing current flipbook with python

   2673   2   0
User Avatar
Member
15 posts
Joined: July 2009
Offline
Hi,

Say I have an mplay open and I've done a few flipbooks stored in memory.
I can currently view them manually with the Sequence List window.

If I wanted to have access to these different sequences via python is this possible ?
My end goal is to write a little python script to write all the different sequences to disc.

Thanks !
User Avatar
Member
49 posts
Joined: Sept. 2013
Offline
There seems to be no information / way to link HOM to mplay. The only way Mplay can be controlled is through the Mplay textport which is unique to it, and can be launched using( Alt+Shift+T ) by selecting Mplay window, which can be used with the following commands:

== 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

* 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|Cmdpenport

* shift|Cmd:shift


Maybe you could come up with a way to link the HOM to Mplay textport but I have no idea how thats even going to be possible. But to keep things simple you could try using the Sequence List ( Alt+L ) in Mplay window which gives you quite a bit of options to save, change range, etc

Attachments:
mplayTextport.JPG (149.8 KB)
mplaySeqList.JPG (156.8 KB)

User Avatar
Member
15 posts
Joined: July 2009
Offline
Thanks for your response on this.
When I get a bit of time I'll take a look.

Currently I've been using the Sequence List a lot, but often I get to the end of a task and just want to batch write out all my sequences. So was looking for a nice quick way to do it.
  • Quick Links