Sound Control, Input Fields

Brad Marx ((no email))
Thu, 24 Feb 1994 16:24:08 -0500 (EST)

I have two questions.

The Help files say that 'playLoudness' is not yet supported. Does anyone
know how to set the volume level for the audio tool on a Sun platform? It
seems that the default is 50 on a scale of 0-100. I would like to set
when I first begin my application, or at least progress towards having a
sliding volume control. From the command line, I could use the -v option
to set the volume, but MetaCard doesn't like it.

The second question concerns a field that I am using for input. Is there
a way to prevent the user from inputting a carriage return? I would like
the entry to be contained to one line and not allow a <CR>, or at least
cause the <CR> to signal an end to the input.

Suggestions on either would be greatly appreciated.

Thanks.

Brad

--------------------------------------------------------------------------
| Bradford Marx | D.A.M. -- Mothers Against Dyslexia |
| marxb@bah.com | Support your local chapter! |
--------------------------------------------------------------------------