seek to script command?
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
seek to script command?

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web
Author Message
Mark Dungan
Guest





Posted: Mon Aug 02, 2004 11:33 pm    Post subject: seek to script command? Reply with quote

I have several script commands embedded throught a wma file. When viewed through Windows Media File Editor they appear in hh:mm:ss.t form. I am assuming that the "t" represents the number of 100 nanosecond increments. My question is how do I script to that exact point in time in the embedded media player. I have tried using currentPosition however I am having difficulty isolating the "t" in the numeric double value required by currentPosition. Does anyone know how to script to that very nanosecond increment. Being close simply won;t work for my needs.

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Tue Aug 03, 2004 9:07 pm    Post subject: Re: seek to script command? Reply with quote

Windows media (and most computer software) doesn't have the precision
to handle 'nanosecond' intervals, you meant 'milliseconds'.

What does ' I am having difficulty isolating the "t" in the numeric
double value required by currentPosition' mean ? Surely it's just
basic maths.... it's n * 1/1000 seconds

'Being close simply won;t work for my needs.' err, which you haven't
specified so we can't even begin to suggest alternatives.

Why not provide a *minimal* but complete snippet of code which isn't
working and we can have a proper stab at it.

Cheers - Neil

On Mon, 2 Aug 2004 12:33:03 -0700, "Mark Dungan"
<MarkDungan@discussions.microsoft.com> wrote:

>I have several script commands embedded throught a wma file. When viewed through Windows Media File Editor they appear in hh:mm:ss.t form. I am assuming that the "t" represents the number of 100 nanosecond increments. My question is how do I script to that exact point in time in the embedded media player. I have tried using currentPosition however I am having difficulty isolating the "t" in the numeric double value required by currentPosition. Does anyone know how to script to that very nanosecond increment. Being close simply won;t work for my needs.
Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> Windows Media on Web All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB