In general...
JScript is Microsoft's version of JavaScript. The advantage of using JScript is the fact that it gives the programmer the more privileges. JScript has the ability to access the client's file system. All of the example scripts below are .js files. To test a JScript file, simply download it and double-click it. NOTE: These scripts have only been tested on Windows XP and Vista.
Examples
- Computer Drives - View all of the available drives on your PC with this script.
- Disable Excel Menus - Disable all of the menus and menu items in Excel 2003 or lower with this script.
- Enable Excel Menus - Enable all of the menus and menu items in Excel 2003 or lower with this script.
- Hoax Virus Message - Simulate a virus that only tells the user it is a virus every so often. Please read the comments in the file before using it.
- Lock Key Loading Bar - Simulate a loading bar with your keyboard lock key indicators with this script.
- Modified Alert Box - Gives the developer the ability to use a beefed up version of the alert function in any stand-along JScript file.
- Random Facts Displayer - Use this script to see a random fact every time you login. If this script is run twice in the same day, the same fact will appear. Make sure your speakers are on as well to see if your computer will say the fact before it actually displays.
JScript Library
Often times, web developers write JavaScript libraries which contain reusable code. These libraries help other developers create web applications much faster because it makes it so the developer doesn't have to do a lot of extra work trying to make sure that the code works on various browsers. The same concept exists in JScript. There is a library called jPaq which gives you the ability to use helpful functions that don't natively exist in JScript. Click here to check out this library.
Related Search Results
- JScript Example - Calculating 2^4194304:
See how you can attempt to calculate an extremely large number with JScript. - JavaScript Snippet - Get Current HTML Code:
Learn how to access the HTML code that composes the page at this exact moment. - JavaScript - GET Object Emulation:
Learn how to emulate the GET object with JavaScript. - JavaScript - Why Use getAttribute(...) In JavaScript?:
Learn why getAttribute is at times more useful that dot notation and bracketed notation. - JavaScript Box:
A simple way to test out JavaScript. Test out your functions and objects. Do some advanced tests with JXtension.
Powered by jPaq.