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 !
accessing current flipbook with python
3112 2 0- michael1
- Member
- 15 posts
- Joined: July 2009
- Offline
- MrReedSmith
- 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
== 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
- michael1
- Member
- 15 posts
- Joined: July 2009
- Offline
-
- Quick Links