Code Monkey home page Code Monkey logo

jsxt's Introduction

The collection of Javascript / JScript / VBScript extensions, tools and more

Table of Content

List of standalone tools

This is the collection of the Javascript / JScript extensions and standalone scripts. It consists of the original scripts by myself and other authors with proper credits.

There are standalone applications:

History

Years ago I invented a simple REPL script in JScript allowing me to run any (or almost any) javascript code without creating temporary file (in the same way as it can be donw in Perl/Python/NodeJS etc).

Initially it was called as JSCmd.wsf in far March 2009 and it could execute any (or almost any) javascript code reading it from command line or STDIN. I did all my best to make it easy in use and flexible as much as possible. I polished it and transformed to wscmd, the bat + js hybrid. Once called, it generates a temporary wsf file which acts further and performs all the logic in JScript and VBScript.

Other REPL implementations

jsxt's People

Contributors

googlecodeexporter avatar ildar-shaimordanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jsxt's Issues

unix-sandbox-in-windows_install.hta:981 line issue

for /f "skip=4 tokens=1,2,*" %%a in ( 'reg query %uninstall_reg% /v "%SANDBOX_DISK%"' ) do (

this should be only skipped 2 lines, so fix it by change skip=4 to skip=2:

for /f "skip=2 tokens=1,2,*" %%a in ( 'reg query %uninstall_reg% /v "%SANDBOX_DISK%"' ) do (

^Z should exit from wscmd

What steps will reproduce the problem?
1. type ^Z in wscmd

What is the expected output?
Exit.

What do you see instead?
wscmd > ^Z
name    :       Error
message :       L'entrée dépasse la fin du fichier
line    :       10
code    :       62
wscmd > 

What version of the product are you using? On what operating system?
Revision 98 from Subversion repository.

Original issue reported on code.google.com by olivier.mengue on 5 Jun 2009 at 2:35

FileSystem.js:17

WScript can only be available by wscript/cscript.exe, non exists in browser/HTA.

Fix it by:
FileSystem.fileName = typeof WScript != undefined || WScript.ScriptName;

FileSystem.fullName = typeof WScript != undefined || WScript.ScriptFullName;

FileSystem.dirName = typeof WScript != undefined || FileSystem.fullName.replace(/\[^\\]+$/, '');

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.