Is it really neccessary to move all of J in order to get this to work?
Is it not enough to move just a few files such as some dll and possibly give
it an attribute to be run as an admin?

I have not had opportunity to spend time on this more than very short
glance.

And yes I am using Vista Home for this exercise

2008/10/13 Don Guinn <[EMAIL PROTECTED]>

> Got JayScript html and ijss scripts to work. Thanks. Added a ten second
> delay to the ijss script which kept the DOS window open long enough to see
> that it worked.
> I had installed J in "Program Files" as I had done with XP but ran into so
> many problems with J in "Program Files" with Vista that I decided to move J
> out of "Program Files". I think that might have been causing some of my
> problems as Vista sometimes hides updates not made as an administrator.
> When
> I did that I had to unregister J and JayScipt stuff. For some
> reason /unregserver and /unregister for J failed under Vista. I don't know
> if that is a J problem of a problem brought on by Vista. Finally had to go
> into the registry to clean up.
>
> When I ran test04.html it works after telling Internet Explorer it's ok to
> run an ActiveX program. But when it starts to run the do__WScript it comes
> back and warns me again and I have to tell it that it's ok again. It does
> not issue that warning for the VBScript. I can't find what I need to set
> for
> j.dll or the jayscript.dll to prevent that message as with VBScript.
>
> Also tried JayScript under Google Chrome. It didn't do anything. No errors.
> Neither JayScript nor VBScript worked.
>
> Where can I learn about the methods available for JayScript?
>
>
> On Sun, Oct 12, 2008 at 11:04 AM, Björn Helgason <[EMAIL PROTECTED]> wrote:
>
> > C:\Program Files\j602\addons\general\jayscript\test>test01.wsf
> >
> > C:\Program Files\j602\addons\general\jayscript\test>test02.ijss
> > Microsoft (R) Windows Script Host Version 5.7
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > CScript Error: Can't find script engine "JayScript" for script
> "C:\Program
> > Files
> > \j602\addons\general\jayscript\test\test02.ijss".
> >
> > C:\Program Files\j602\addons\general\jayscript\test>test03.ijss
> > Microsoft (R) Windows Script Host Version 5.7
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > CScript Error: Can't find script engine "JayScript" for script
> "C:\Program
> > Files
> > \j602\addons\general\jayscript\test\test03.ijss".
> >
> > C:\Program Files\j602\addons\general\jayscript\test>test04.html
> >
> > C:\Program Files\j602\addons\general\jayscript\test>
> >
> > ------------------------------
> > JScript
> > 1,2,3,4
> > ------------------------------
> > VBScript
> > ------------------------------
> > JayScript
> > ------------------------------
> > VBScript Again
> > ------------------------------
> > JayScript Again
> > ------------------------------
> > JayScript Event (not working yet)
> >
> >
> > 2008/10/11 Oleg Kobchenko <[EMAIL PROTECTED]>
> >
> > > > From: Don Guinn <[EMAIL PROTECTED]>
> > > >
> > > > Tried JayScript under Vista Pro and got the following from
> test02.html:
> > > > Notice that document.write worked but do__document did not.
> > >
> > > This may have to do with whether Active Content is allowed to run.
> > > You may want to check security options and set it Prompt if Disabled.
> > >
> > > > Also, the .ijss
> > > > scripts just flashed a black window (I assume to be a DOS window) and
> > > went
> > > > away.
> > >
> > > Try opening the DOS window then cd to the folder and type in the .ijss
> > > files so that you see the output and window stays.
> > >
> > > > The .asp example said it was an unknown file type which was  defined
> > > > but no application was associated with it.
> > >
> > > For .ASP you need to have Internet Information Server (IIS) installed
> > > among Windows Components in Control Panel. Then in IIS console in
> > > Administrative Tools enable ASP. Then create a virtual folder with
> > > the .ASP file. Then navigate to the url in Web browser
> > >  http://localhost/path/file.asp
> > >
> > > > I see that the source is now available and I am now digging into it
> to
> > > see
> > > > what's going on. While viewing readme.txt, ran into a small problem
> as
> > > that
> > > > the lines are delimited only by LF (0x10), not CRLF. The result is
> that
> > > the
> > > > text is not very readable in Notepad. Looks fine under J.
> > >
> > > The J readme.txt has CRLF, but the one in src folder has only LF.
> > > The src is supposed to be used with Visual Studio. See
> > >   How to: Use Visual C++ Express Edition with the Microsoft Platform
> SDK
> > >   http://msdn.microsoft.com/en-us/library/ms235626(VS.80).aspx
> > >
> > > > Noticed that is a pain to try to modify a .html file as Internet
> > Explorer
> > > > caches and always gets the old copy. Is there an easier way to clear
> > the
> > > > file than using IE's clear cache tool to get a new copy?
> > > >
> > > > ------------------------------
> > > > JScript
> > > > 1,2,3,4
> > > > ------------------------------
> > > > VBScript
> > > > 1 2 3 4
> > > > ------------------------------
> > > > JayScript
> > > > ------------------------------
> > > > VBScript Again
> > > > 101 102 103 104
> > > > ------------------------------
> > > > JayScript Again
> > > > ------------------------------
> > > > JayScript Event (not working yet)
> > > >
> > > >
> > > > On Fri, Oct 10, 2008 at 10:37 PM, Oleg Kobchenko wrote:
> > > >
> > > > > The suggestion is incorporated. Thank you.
> > > > >
> > > > > Integrating setup routines with Package Manager
> > > > > is also a good idea. One other such discussion was
> > > > > about facilitating integration with the IDE, such as
> > > > > shortcuts or menu. BTW, this is in line with already
> > > > > existing integration: labs.
> > > > >
> > > > >
> > > > >
> > > > > ----- Original Message ----
> > > > > > From: Raul Miller
> > > > > >
> > > > > > On Fri, Oct 10, 2008 at 9:28 AM, Oleg Kobchenko wrote:
> > > > > > > Today JayScript is issued as general/jayscript addon.
> > > > > > >
> > > > > > >  http://www.jsoftware.com/jwiki/Addons/general/jayscript
> > > > > > ...
> > > > > >
> > > > > > The install instructions ask that I execute jayscript_reg.bat
> > > > > >
> > > > > > However, the batch file requires that jayscript.dll be in my
> > current
> > > > > directory
> > > > > > when I run the script, and this was not a part of the
> instructions.
> > > > > >
> > > > > > One way to remedy this would be to change the regsvr32 line in
> the
> > > > > > bat file to
> > > > > >    regsvr32 "%~dp0jayscript.dll"
> > > > > >
> > > > > > Though, ideally, the package manager should be able to do this.
> > >
> > >
> > >
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> >
> >
> >
> > --
> > Björn Helgason, Verkfræðingur
> > Fugl&Fiskur ehf,
> > Þerneyjarsundi 23, Hraunborgum
> > Po Box 127,801 Selfoss ,
> > t-póst: [EMAIL PROTECTED]
> > gsm: +3546985532
> > Landslags og skrúðgarðagerð, gröfuþjónusta
> > http://groups.google.com/group/J-Programming
> >
> >
> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
> >
> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
> >         /|_      .-----------------------------------.
> >        ,'  .\  /  | Með léttri lund verður        |
> >    ,--'    _,'   | Dagurinn í dag                     |
> >   /       /       | Enn betri en gærdagurinn  |
> >  (   -.  |        `-----------------------------------'
> >  |     ) |        (\_ _/)
> >  (`-.  '--.)       (='.'=)
> >  `. )----'        (")_(")
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf,
Þerneyjarsundi 23, Hraunborgum
Po Box 127,801 Selfoss ,
t-póst: [EMAIL PROTECTED]
gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to