----- Original Message ----- 
From: Carlos A. Pacheco Navas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 11:16
Subject: RE: [Dynapi-Dev] OT: Scriptcompressing

>Where do I get the cscript.exe ?

cscript/wscript.exe are part of the WSH (Windows Scripting Host) package that nowadays 
comes bundled
with all new Win32 dists. Make sure you got version 2.0.
The 2.0 update is available at 
http://www.microsoft.com/msdownload/vbscript/scripting.asp (ca. 630 kB)
includes (Jscript.dll 5.5 and VBS.dll 5.5 aswell)

-- 
----- Original Message ----- 
From: Marc van Leeuwen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 09:08
Subject: Re: [Dynapi-Dev] OT: Scriptcompressing

>what is exactly the licence under which you distribute your tool ? Just to be sure...
Actually I hadn't decided this yet, but as you ask...
The ESC-class is LGPL.
The WSH Command line wrapper is GPL.
This will be stated starting from 0.95.


--

----- Original Message ----- 
From: Richard Bennett <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 11:11
Subject: Re: [Dynapi-Dev] OT: Scriptcompressing

>Regarding variable substitution, I would actually prefer to be able to
>specify in a list which variables I would like to substitute with what,
>rather than specifying which ones NOT to change.

read about the [$_] prefix.
Running ESC on a daily basis on  40-50 different scripts/classes, sometimes 
referencing eachother, sometimes standalone. The project we built this thing for 
wouldn't allow that.
Note that the substitutions applied most certainly aren't the same between
'compilations'. Mangling is incremental, add a new variable at line X and all others 
appearing ahead 
will be assigned an id skewed from previous ESC runthrus.
Believe me, I did a lot of thinkin to find a scheme making name mangling easily 
adoptable on everything,
and still get a correct output, interpretable on the other end.
Our view on name-mangling  and how it should be applied might not suit your scenario,
but hey, feel free and reverse the behavior if you like.


> There's an error in line 42 of the readme file , level 1 doesn't do empty
> line removal.

hmm, could swear this was the case a few days ago :)
as of 0.95 empty lines will go away at level 1


> At crunch level 2 the code was still readable, and functional, so for my use
> that looks like the best setting.

level 2 is default and don't need a switch.
should be able compress any script right out of the box
levels >2 often require some adjustment to the script before coming out
in the other end, still interpretable by a JS-parser.
(a single ';' line-termination left out is enough for a cracked output)



/thomas.
Thomas Loo / Saltstorm.
[EMAIL PROTECTED]






_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to