scripting QuickTime player
Timothy Miller
gandalf at doctorTimothyMiller.com
Thu Jul 7 01:47:36 EDT 2011
It totally helped, Devin. Works great. Thanks a bunch. Tutorial appreciated.
I didn't check the timescale property immediately. I guessed maybe 30 frames per second. Hahaha. By trial and error the ideal value turned out to be 60000. Now I get it.
Tim
On Jul 6, 2011, at 9:04 PM, Devin Asay wrote:
>
> Tim,
>
> I've got an overview of how to script player objects here:
>
> http://livecode.byu.edu/video/QTinRev.php
>
> For what you want you could
>
> set the playSelection of player "foo" to true
> set the startTime of player "foo" to NNN -- where NNN is the starting "frame" number
> set the endTime of player "foo" to XXX -- where XXX is the ending "frame" number
> start player "foo"
>
> Check out the timeScale property for how to determine where to start and stop.
>
> HTH
>
> Devin
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
More information about the use-livecode
mailing list