Info-Mac Archive Downloads: dev/card/ Hypercard

Back to dev/card/ Hypercard

SequencerXCMD 1.5 (sequencer-xcmd-15.hqx)

Download sequencer-xcmd-15.hqx (30,133 KB)


From: nfo@knowsoft.com
Subject: SequencerXCMD 1.5


Sequencer xcmd v 1.5
©Paul B. Beeken, Knowledge Software Consulting, info@knowsoft.com

This is a simple XCMD for hypercard designed to access the Connectix
QuickCAM? but it will control and capture from almost any QT compliant
camera. It uses the quicktime sequencer API to access the default
sequencer. It allows you to pop up a window which displays a preview of
the output of the camera. Optionally, you can specify the port, size,
and style of the window. It even snaps pictures! Now it has been
tested with the color QuickCam and works with the built in video ports of
the PM 8500 series. Read on.

The general syntax this command understands is:
QuickCamSeq open [, upperLeftLoc ][, full | half | quarter ]
[,printerPort | modemPort ][,' style' ][,dontFloat]
'style' can be one of the following:
pallete, plain, box, shadow, side, top
where top is the default. The order after the
"open" command
does not matter.
the value returned is empty if there were no errors

The command creates a window which has the following properties over the
standard set:
brightness 03Ú4b3Ú4100
contrast 03Ú4b3Ú4100
saturation 03Ú4b3Ú4100
sharpness 03Ú4b3Ú4100
hue 03Ú4b3Ú4100
port printerPort | modemPort (Why did I do this? who changes ports
midstream?)
filename ClipBoard | full path name sets a file or clipboard for
pict save
The window responds to the following messages:
snap - snaps the picture to clipboard
pause - pauses the preview
continue - starts the preview
settings - opens the standard QT dialog for the video settings.

The window's name is "©PaulBeeken,KnowSoft" just in case you forget.