I pasted this in a Jfile:

load'c:/users/me/j64-602/addons/media/wav/wav.ijs'
wavplay 'C:\Windows\Media\notify.wav'

It would not  run display. Here's what it said in red:

|file name error: script | 0!:0 y[4!:55<'y'

Since I don't yet deal with paths, I will wait for those who do to fix this.

Hope springs eternal.

Linda

-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of Linda Alvord
Sent: Friday, December 02, 2011 6:00 AM
To: 'Programming forum'
Subject: Re: [Jprogramming] 11!:0 in j701

I got so frustrated trying to get the sound to work in my story of "Willie
the Snail" that I gave up and took up watercolor.  I'm delighted to see that
there's a way to play a   .wav  in my future.

Linda

-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of David Mitchell
Sent: Friday, December 02, 2011 4:54 AM
To: Programming forum
Subject: Re: [Jprogramming] 11!:0 in j701

There is J code that works in J701 to support clipboard and sound playing on

windows 7:

    load'~addons/general/misc/clippaste.ijs'
    setcliptext 'hallo world'
79233032
    getclip''
hallo world

and (from J602):

    
1

These work in J Console, J GTK and JHS, on the server side.
--

On 12/1/2011 19:02, Ian Clark wrote:
> Is 11!:0 (wd) supported for any task at all in j701? Are there any plans
to?
>
> It would be nice to support heritage code like:
>
>     11!:0 'beep'
>
>     11!:0 'clipcopy "hallo world"'
>
> ...So how do you "beep" or "clipcopy" in j701 JHS?
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to