Re: Support for Windows Video

2000-01-10 Thread Scott Rossi

Regarding Video for Windows, some time ago I across a document which pretty
thoroughly documents MCI, though it is not big on examples and was
originally posted in 1991.  If you're interested, let me know off list.

Regards,

Scott

__
Scott RossiTactile Media - Multimedia & Design
Creative Director  Email: [EMAIL PROTECTED]
   Web: www.tactilemedia.com


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Support for Windows Video

2000-01-10 Thread Steven D'Aprano

Peter Reid wrote:

> I'm VERY keen to standardise on QuickTime, but some corporate IT 
> mentalities are completely unpersuadable on this issue (..."what, 
> it's not from Microsoft, no way!").

Then don't tell them. Just say you need to update their video drivers,
and then make sure AVI and MPEGs aren't associated with the Quicktime
player. If they're that stupid, they probably won't even recognise the
Apple logo :-)

Alternatively, quote them two prices, one with Quicktime and one
without, and make the without price very much dearer!

("Its all the extra work, doncha know, reinventing the wheel and doing
things that Apple did ten years ago.")

Note: I do not condone the practise of installing software on other
people's computers without their knowledge, no matter how pig ignorant
and stupid they are.


-- 
Steven D'Aprano

==
M.B. Sales Pty LtdPh:  +61 3 9460-5244
A.C.N. 005-964-796Fax: +61 3 9462-1161

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Support for Windows Video in MC 2.3?

2000-01-10 Thread Peter Reid

>  > If 'timescale' isn't supported, what units is 'duration' in?
>
>Looks like milliseconds...

OK, thanks

>  > So I can create my own controller with pause, stop and start and use
>  > the 'formattedWidth' and 'formattedHeight' together with 'scale' to
>  > control the size of the playback frame.  Can I set the 'currentTime'
>  > to effect a forward/reverse effect?
>
>Yes.

Fine.

Thanks again,
Peter


Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Menu item selection

2000-01-10 Thread Hugh Senior

Is there a way to script which item is hilited in a pulldown menu and
automatically scroll the (lengthy) menu to that item?

Since a keyDown message is sent when a pulldown menu is active, a handler
in the button should be able to...

on keyDown tKey
  get lineOffset(cr&tKey,cr&the text of me)
  set the hilitedLines of me to it -- Equivalent needed!
end keyDown

Anyone?

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Support for Windows Video in MC 2.3?

2000-01-10 Thread Scott Raney

On Mon, 10 Jan 2000, Peter Reid wrote:

> If 'timescale' isn't supported, what units is 'duration' in?

Looks like milliseconds...

> >  >  For example, is it possible to display a
> >  > controller which the user can interact with to play, pause, stop,
> >  > rewind, step forward/backward?  Also, can I tell the dimensions of a
> >  > video clip for on-screen sizing, or where and when a clip has been
> >  > paused by the user?
> >
> >The user can't pause the clip, but you can do this from a script.  You
> >can get the dimensions of a movie, and it should play into a player
> >the proper size if you set the lockLocation property of the player,
> >but VfW doesn't support a visible controller, so you'd have to build
> >your own if you need one.
> 
> So I can create my own controller with pause, stop and start and use 
> the 'formattedWidth' and 'formattedHeight' together with 'scale' to 
> control the size of the playback frame.  Can I set the 'currentTime' 
> to effect a forward/reverse effect?

Yes.
  Regards,
Scott

> Thanks again.
> 
> Peter
> 
> 
> Peter Reid
> Reid-IT Limited, Loughborough, Leics., UK
> Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
> E-mail: [EMAIL PROTECTED]
> Web: http://www.reidit.co.uk
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Support for Windows Video in MC 2.3?

2000-01-10 Thread Peter Reid

Thanks Scott for the feedback.

>This has not been documented AFAIK and I didn't write this code and
>don't really understand it, but I'll try to answer based on a quick
>review of it.  Backward compability testing has been very limited
>(you're actually lucky that it works at all because we seriously
>considered dropping support for VfW entirely), so your best bet is to
>actually try them and find out.  Either that or spend your time
>developing a persuasive argument that your customers' refusal to
>install QT is a mistake ;-)

I'm VERY keen to standardise on QuickTime, but some corporate IT 
mentalities are completely unpersuadable on this issue (..."what, 
it's not from Microsoft, no way!").

>Also note that you actually have better control over things using the
>mciSendString function, though it can be difficult to figure out what
>the proper syntax is.  Unfortunately I'm not aware of any good
>documentation on the MCI layer, neither from Microsoft nor from any of
>the vendors of the other products that rely heavily on it (like
>ToolBook).

Sounds like I'll need the witchdoctor and some carefully constructed 
spells - I think I'll steer clear of mciSendString for now!

>  > - player objects
>  > - player object properties:
>  >- fileName
>  >- currentTime
>  >- playRate
>  >- duration
>  >- formattedWidth, formattedHeight
>  >- paused
>  > - player object messages?
>
>Yes.

OK, looks usable - I'll have to try this out.

>  >- showController
>  >- alwaysBuffer
>  >- startTime, endTime
>  >- showSelection
>  >- playSelection
>  >- callbacks
>  >- timescale
>
>No.  VfW doesn't have equivalents for these.

If 'timescale' isn't supported, what units is 'duration' in?

>
>  > If player objects can't be used with Video for Windows, how much
>  > equivalent functionality is supported using the older style "play
>  > videoClip" command?
>
>The "play vc" command should work like it used to.  But note that all
>it does is create a temporary player object, start it, and then delete
>it when the playStopped message is sent.

OK, back to 'player objects' then.

>  >  For example, is it possible to display a
>  > controller which the user can interact with to play, pause, stop,
>  > rewind, step forward/backward?  Also, can I tell the dimensions of a
>  > video clip for on-screen sizing, or where and when a clip has been
>  > paused by the user?
>
>The user can't pause the clip, but you can do this from a script.  You
>can get the dimensions of a movie, and it should play into a player
>the proper size if you set the lockLocation property of the player,
>but VfW doesn't support a visible controller, so you'd have to build
>your own if you need one.

So I can create my own controller with pause, stop and start and use 
the 'formattedWidth' and 'formattedHeight' together with 'scale' to 
control the size of the playback frame.  Can I set the 'currentTime' 
to effect a forward/reverse effect?

Thanks again.

Peter


Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Midi Repeat

2000-01-10 Thread Geoff Canyon

On 1/9/00 4:22 AM, Jeremy <[EMAIL PROTECTED]> wrote:

>I have ran into a problem.
>I can't seem to be able to repeat midi's in a stack. all I can do
>is question if the midi has stoped and if so start it again and
>this leaves about 0.5 to 1 second of silence... is there any
>command you can do to make the midi keep repeating?


I think you could also import the midi into a QuickTime movie, set it to 
loop, and use that instead. I don't know what sort of delay you would see 
between the end of the midi and the beginning that way, but it's worth a 
shot.

gc

geoff canyon
[EMAIL PROTECTED]



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Support for Windows Video in MC 2.3?

2000-01-10 Thread Scott Raney

On Mon, 10 Jan 2000, Peter Reid wrote:

> I'm very keen on the QuickTime developments in MC 2.3B3. 
> Unfortunately, some of my customers will not allow QuickTime to be 
> used on their Windows systems!  Therefore, I need to know exactly 
> what functionality is available using Video for Windows so I can plan 
> the type of training interactions that I can provide using MC 2.3.
> 
> For example, which of the following are supported with Video for Windows:

This has not been documented AFAIK and I didn't write this code and
don't really understand it, but I'll try to answer based on a quick
review of it.  Backward compability testing has been very limited
(you're actually lucky that it works at all because we seriously
considered dropping support for VfW entirely), so your best bet is to
actually try them and find out.  Either that or spend your time
developing a persuasive argument that your customers' refusal to
install QT is a mistake ;-)

Also note that you actually have better control over things using the
mciSendString function, though it can be difficult to figure out what
the proper syntax is.  Unfortunately I'm not aware of any good
documentation on the MCI layer, neither from Microsoft nor from any of
the vendors of the other products that rely heavily on it (like
ToolBook).

> - player objects
> - player object properties:
>- fileName
>- currentTime
>- playRate
>- duration
>- formattedWidth, formattedHeight
>- paused
> - player object messages?

Yes.

>- showController
>- alwaysBuffer
>- startTime, endTime
>- showSelection
>- playSelection
>- callbacks
>- timescale

No.  VfW doesn't have equivalents for these.

> If player objects can't be used with Video for Windows, how much 
> equivalent functionality is supported using the older style "play 
> videoClip" command?

The "play vc" command should work like it used to.  But note that all
it does is create a temporary player object, start it, and then delete
it when the playStopped message is sent.

>  For example, is it possible to display a 
> controller which the user can interact with to play, pause, stop, 
> rewind, step forward/backward?  Also, can I tell the dimensions of a 
> video clip for on-screen sizing, or where and when a clip has been 
> paused by the user?

The user can't pause the clip, but you can do this from a script.  You
can get the dimensions of a movie, and it should play into a player
the proper size if you set the lockLocation property of the player,
but VfW doesn't support a visible controller, so you'd have to build
your own if you need one.
  Regards,
Scott

> I need to know these capabilities ASAP as it might be a show-stopper!
> 
> Thanks for any help or feedback.
> Peter
> 
> Peter Reid
> Reid-IT Limited, Loughborough, Leics., UK
> Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
> UK Mobile: 0378 632533
> E-mail: [EMAIL PROTECTED]
> Web: http://www.reidit.demon.co.uk
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: option style button

2000-01-10 Thread Scott Raney

On Mon, 10 Jan 2000, Nicolas R Cueto wrote:

> Hello,
> 
> Is there a way of resetting the size of the drop-down window of a button
> set to option style? I'd like more items to be visible at one time, so
> as to not oblige my students to use the scrollbar too much.

Use the menuLines property.
  Scott

> Cheers.
> 
> -- 
> Nicolas R Cueto
> Takakura JHS/SHS
> Nagoya, Japan
> 
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> 


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Re: Graphic Tool Style - Got It !!!

2000-01-10 Thread Gary Rathbone

Sorry all. Another read through the manual and I discovered the templateGraphic 
function.

It seems what I was looking for was:

set the style of the templateGraphic to "curve"

easy when you know what you're looking for !!!

Rgds

Gary Rathbone
Hooknet


>This is a very simple question, with I'm sure a very simple answer. I've searched the 
>help files and done the old "trial and error" but am still stuck.
>
>I have a button
>
>   on mouseup
>   choose graphic tool
>   end mouseup
>
>Which defaults to a rectangle. However I require a 'curve' style. What I need is 
>something like
>
>   on mouseup
>   choose graphic tool
>   set the style to curve
>   end mouseup
>
>Its for a cross platform Mac - PC project to be delivered in 3 hours, so any rapid 
>response would be greatly appreciated.
>
>TIA
>
>Gary Rathbone
>Hooknet
>
>
>
>This is the MetaCard mailing list.
>Archives: http://www.mail-archive.com/metacard%40lists.best.com/
>Info: http://www.xworlds.com/metacard/mailinglist.htm




This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Support for Windows Video in MC 2.3?

2000-01-10 Thread Peter Reid

I'm very keen on the QuickTime developments in MC 2.3B3. 
Unfortunately, some of my customers will not allow QuickTime to be 
used on their Windows systems!  Therefore, I need to know exactly 
what functionality is available using Video for Windows so I can plan 
the type of training interactions that I can provide using MC 2.3.

For example, which of the following are supported with Video for Windows:
- player objects
- player object properties:
   - fileName
   - showController
   - alwaysBuffer
   - startTime, endTime
   - showSelection
   - playSelection
   - currentTime
   - playRate
   - callbacks
   - duration
   - timescale
   - formattedWidth, formattedHeight
   - paused
- player object messages?

If player objects can't be used with Video for Windows, how much 
equivalent functionality is supported using the older style "play 
videoClip" command?  For example, is it possible to display a 
controller which the user can interact with to play, pause, stop, 
rewind, step forward/backward?  Also, can I tell the dimensions of a 
video clip for on-screen sizing, or where and when a clip has been 
paused by the user?

I need to know these capabilities ASAP as it might be a show-stopper!

Thanks for any help or feedback.
Peter

Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)1509 264986
UK Mobile: 0378 632533
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.demon.co.uk

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



Graphic Tool Style

2000-01-10 Thread Gary Rathbone

This is a very simple question, with I'm sure a very simple answer. I've searched the 
help files and done the old "trial and error" but am still stuck.

I have a button

on mouseup
choose graphic tool
end mouseup

Which defaults to a rectangle. However I require a 'curve' style. What I need is 
something like

on mouseup
choose graphic tool
set the style to curve
end mouseup

Its for a cross platform Mac - PC project to be delivered in 3 hours, so any rapid 
response would be greatly appreciated.

TIA

Gary Rathbone
Hooknet



This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm



option style button

2000-01-10 Thread Nicolas R Cueto

Hello,

Is there a way of resetting the size of the drop-down window of a button
set to option style? I'd like more items to be visible at one time, so
as to not oblige my students to use the scrollbar too much.

Cheers.

-- 
Nicolas R Cueto
Takakura JHS/SHS
Nagoya, Japan

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm