Page 1 of 1

How to supress Multiview's window completely?

Posted: Sat Apr 16, 2016 11:39 am
by Raziel
Is there a way to suppress Multiview's window completely and let media play back in the background?

Multiview has the possibility to play sound data IMMEDIATEly with a tooltype called the same.
Yet, it's window will still come up.
Furthermore it won't close itself after the media was played back.

My question is:
Can i somehow teach Multiview to either not pop up a window on playback or tell it to immediately close itself after the playback has finished?

Right now i use a two line command to achieve what i'm trying to do:

Code: Select all

Multiview "Sound" IMMEDIATE PORTNAME=FR.SOUND
RX 'ADDRESS FR.SOUND QUIT'
It works, but it looks hacky

Thanks a lot

Re: How to supress Multiview's window completely?

Posted: Sat Apr 16, 2016 2:02 pm
by broadblues
Not that I'm aware of.

You could try iconifying it and using a REXX command to load the sound.

MultiView WINDOW IMMEDIATE

click iconify gadget

rx "ADDRESS MULTIVIEW.1 OPEN NAME mysounf.aiff"

Really if you want abackground sound player you should find a different tool, MultiView is for viewing stuff.

You could try the interestingly named SoundPlayer which curiously enough plays sounds...

C:SoundPlayer FROM mycoolsound.aiff

Re: How to supress Multiview's window completely?

Posted: Sat Apr 16, 2016 6:09 pm
by Raziel
broadblues wrote:Not that I'm aware of.

You could try iconifying it and using a REXX command to load the sound.

MultiView WINDOW IMMEDIATE

click iconify gadget

rx "ADDRESS MULTIVIEW.1 OPEN NAME mysounf.aiff"

Really if you want abackground sound player you should find a different tool, MultiView is for viewing stuff.

You could try the interestingly named SoundPlayer which curiously enough plays sounds...

C:SoundPlayer FROM mycoolsound.aiff
/me hugs broadblues

I knew about SoundPlayer, but i always thought the played back sound is "hardcoded" and comes from the sound prefs setting.

Oh boy, thanks a lot, that saves me some hassle :-)

You've got one pint on me :-)

Re: How to supress Multiview's window completely?

Posted: Sun Apr 17, 2016 1:10 am
by nbache
Like SYS:Documentation/C/SoundPlayer.doc says:
SoundPlayer reads a sound sample from disk and plays it through
AHI.device. The sample filename may be specified on the command line,
or, if no input file is specified, SoundPlayer will read the system
sound.prefs file and look there for a filename.
Best regards,

Niels