System Beep
[1/8] from: coussement::c::itc::mil::be at: 19-Feb-2001 16:21
It should be a good solution, but I'm working with Command, which does not
support 'browse...
I should have mention it in my mail: sorry for that ;-\
Thanks anyway !
chr==
[2/8] from: gjones05:mail:orion at: 19-Feb-2001 9:32
From: "Michal Kracik"
> from REBOL/View you can do:
> browse "c:/winnt/media/notify.wav" and if a dialog box appears, say
> that you don't want to be asked every time you open a file with .wav
> suffix.
Very clever work around. Works in Win98, needless to say (different
directory, of course).
-Scott
[3/8] from: kracik:mbox:dkm:cz at: 19-Feb-2001 18:01
OK, since I wrongly advised you about renaming files on network drives,
here's how to make standard Windows beeps in Command:
MB_OK: 0
MB_ICONHAND: 16
MB_ICONQUESTION: 32
MB_ICONEXCLAMATION: 48
MB_ICONASTERISK: 64
user32lib: load/library %user32.dll
MessageBeep: make routine! [
utype [ int ] return: [ int ]
] user32lib "MessageBeep"
MessageBeep MB_ICONHAND
free user32lib
Note that sounds for different types of message boxes can be
configured in Windows Control Panel, they are quite annoying so some
people turn them off entirely.
Regards,
--
Michal Kracik
CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
wrote:
> It should be a good solution, but I'm working with Command, which does not
> support 'browse...
<<quoted lines omitted: 21>>
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
S pozdravem
Michal Kracik
[4/8] from: coussement:c:itc:mil:be at: 19-Feb-2001 10:58
Hi REBOLians:
Does anyone know how to generate a "system beep" with REBOL under WinNT ?
I need it to mark the end of long processes...
Best regards,
chr==
[5/8] from: chris:starforge:demon at: 19-Feb-2001 10:50
CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN wrote:
> Hi REBOLians:
>
> Does anyone know how to generate a "system beep" with REBOL under WinNT ?
> I need it to mark the end of long processes...
Have you tried
print "^G"
that's the "BEL" code on most systems.
Chris
--
New sig in the works
Explorer2260 Designer and Coder
http://www.starforge.co.uk
[6/8] from: coussement:c:itc:mil:be at: 19-Feb-2001 12:49
I just did, but it didn't make it ...
Thanks anyway !
chr==
[7/8] from: kracik:mbox:dkm:cz at: 19-Feb-2001 15:47
Hi,
from REBOL/View you can do:
browse "c:/winnt/media/notify.wav" and if a dialog box appears, say
that you don't want to be asked every time you open a file with .wav
suffix.
HTH,
--
Michal Kracik
CRS - Psy Sel/SPO, COUSSEMENT Christophe, CPN
wrote:
[8/8] from: coussement:c:itc:mil:be at: 20-Feb-2001 8:52
> OK, since I wrongly advised you about renaming files on network drives,
> here's how to make standard Windows beeps in Command:
<<quoted lines omitted: 9>>
> MessageBeep MB_ICONHAND
> free user32lib
[
Thanks Michal, I was looking that way, but you spare me a lot of
thinking work !
I just tried it and it works OK.
]
> Note that sounds for different types of message boxes can be
> configured in Windows Control Panel, they are quite annoying so some
> people turn them off entirely.
>
> Regards,
[
Thanks again,
Take care.
chr==
]
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted