Changing Image FileName Based on QT Time...?

John Patten johnpatten at mac.com
Tue Oct 19 00:57:30 EDT 2004


Thanks Klaus!

I'll check out the "currenttime" of player call in the morning. I was not aware of currentTime of player.

Would this be used on an idle script? 

Something like:

If currentTime is > 20000 then
set fileName of image xyz to "slides/slide1.jpg"
else
if currentTime is > 25000 then
set fileName of image xyz to "slides/slide2.jpg"
...

Am i on the right track?

Thanks again!

John Patten
Tech Dept
SBCUSD


On Monday, October 18, 2004, at 04:20PM, <use-revolution-request at lists.runrev.com> wrote:
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 18 Oct 2004 18:09:19 +0200
>From: Klaus Major <klaus at major-k.de>
>Subject: Re: Changing Image FileName Based on QT Time...?
>To: How to use Revolution <use-revolution at lists.runrev.com>
>Message-ID: <116AD318-2120-11D9-8CD0-000A27B49A96 at major-k.de>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>Hi John,
>
>> Hi All!
>>
>> Is it possible to change the FileName of an image depending on the 
>> time in a QuickTime movie.
>
>Do you mean naming the images after "the currenttime of player xyz" -> 
>12345.jpg?
>
>Sure, why not, should not be a problem :-)
>
>If you would like to automate this task, then you need 2 lists, the 
>"currenttimes" of
>the player, where a specific image should appear and a list of all the 
>images,
>preferrably in the correct order :-)
>
>> I have a bunch of slides I'm trying to synch up with an audio only 
>> movie.
>
>Set "the callbacks" of that player with a nifty script and that should 
>work fine ;-)
>
>> Does anyone have any advice?
>
>Please drop a line if my hints are not really helpful ;-)
>I will think about it in the meantime!
>
>> Thanks in Advance!!
>>
>> John Patten
>> Tech Dept
>> SBCUSD
>
>Regards
>
>Klaus Major
>klaus at major-k.de
>http://www.major-k.de
>
>
>P.S.
>Only 3 (THREE) weeks left until ERC!!!
>
>http://techietours.com/Rev/
>
>B there or B square :-)
>
>
>------------------------------
>------------------------------
>
>Message: 13
>Date: Mon, 18 Oct 2004 20:57:15 +0200
>From: Klaus Major <klaus at major-k.de>
>Subject: Re: Changing image fileName Based on QT Time...?
>To: How to use Revolution <use-revolution at lists.runrev.com>
>Message-ID: <870851B6-2137-11D9-8CD0-000A27B49A96 at major-k.de>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>Hi John,
>
>maybe you missed this one from 3 hours ago :-)
>
>> Hi John,
>>
>>> Hi All!
>>>
>>> Is it possible to change the FileName of an image depending on the 
>>> time in a QuickTime movie.
>>
>> Do you mean naming the images after "the currenttime of player xyz" -> 
>> 12345.jpg?
>>
>> Sure, why not, should not be a problem :-)
>>
>> If you would like to automate this task, then you need 2 lists, the 
>> "currenttimes" of
>> the player, where a specific image should appear and a list of all the 
>> images,
>> preferrably in the correct order :-)
>>
>>> I have a bunch of slides I'm trying to synch up with an audio only 
>>> movie.
>>
>> Set "the callbacks" of that player with a nifty script and that should 
>> work fine ;-)
>>
>>> Does anyone have any advice?
>>
>> Please drop a line if my hints are not really helpful ;-)
>> I will think about it in the meantime!
>>
>>> Thanks in Advance!!
>>>
>>> John Patten
>>> Tech Dept
>>> SBCUSD
>>
>> Regards
>>
>> Klaus Major
>> klaus at major-k.de
>> http://www.major-k.de
>>
>>
>> P.S.
>> Only 3 (THREE) weeks left until ERC!!!
>>
>> http://techietours.com/Rev/
>>
>> B there or B square :-)
>
>Best
>
>Klaus Major
>klaus at major-k.de
>http://www.major-k.de
>
>
>------------------------------



More information about the use-livecode mailing list