I'm trying to move to J7. Can I do any of this here?

Linda

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

Linda,

You need to adapt the path for your system.

You will need to browse to your J602 install directory and use a command
similar 
to this:

load'c:/users/LINDA-A/J602-INSTALL-DIR/addons/media/wav/wav.ijs'

2!:5 'USERNAME'

may give you your user name.

Or, you can start J602 on your system and type:

1!:46 ''

That will show you the path to your bin directory.  You can use something
like 
this (on J602)

(_3}.1!:46''),'addons/media/wav/wav.ijs'

The result should be what you need to load on J701.
--
David Mitchell

On 12/2/2011 6:15, Linda Alvord wrote:
> 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
>
----------------------------------------------------------------------
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