Misplaced Pages

Windows Script Host

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

The Microsoft Windows Script Host ( WSH ) (formerly named Windows Scripting Host ) is an automation technology for Microsoft Windows operating systems that provides scripting abilities comparable to batch files , but with a wider range of supported features. This tool was first provided on Windows 95 after Build 950a on the installation discs as an optional installation configurable and installable by means of the Control Panel , and then a standard component of Windows 98 (Build 1111) and subsequent and Windows NT 4.0 Build 1381 and by means of Service Pack 4. The WSH is also a means of automation for Internet Explorer via the installed WSH engines from IE Version 3.0 onwards; at this time VBScript became means of automation for Microsoft Outlook 97. The WSH is also an optional install provided with a VBScript and JScript engine for Windows CE 3.0 and following and some third-party engines including Rexx and other forms of Basic are also available.

#250749

45-422: It is language-independent in that it can make use of different Active Scripting language engines. By default, it interprets and runs plain-text JScript (.JS and .JSE files) and VBScript (.VBS and .VBE files). Users can install different scripting engines to enable them to script in other languages, for instance PerlScript . The language-independent filename extension WSF can also be used. The advantage of

90-550: A message with an 'OK' button. Upon launching this script the CScript or WScript engine would be called and the runtime environment provided. Content of a file hello0.vbs WSH programming can also use the JScript language. Content of a file hello1.js Or, code can be mixed in one WSF file, such as VBScript and JScript , or any other: Content of a file hello2.wsf Windows applications and processes may be automated using

135-572: A script in Windows Script Host. Viruses and malware could be written to exploit this ability. Thus, some suggest disabling it for security reasons. Alternatively, antivirus programs may offer features to control .vbs and other scripts which run in the WSH environment. Since version 5.6 of WSH, scripts can be digitally signed programmatically using the Scripting.Signer object in a script itself, provided

180-856: A script with multiple languages in it in files with a .wsh extension. Extended Html and XML also add to the additional possibilities when working with scripts for network use, as do Active Server Pages and so forth. Moreover, Windows shell scripts and scripts written in shells with enhanced capabilities like TCC , 4NT , etc. and Unix shells under interoperability software like the MKS Toolkit can have scripts embedded in them as well. There have been suggestions of creating engines for other languages, such as LotusScript , SaxBasic , BasicScript , KiXtart , awk , bash , csh and other Unix shells, 4NT , cmd.exe (the Windows NT shell), Windows PowerShell , DCL , C , C++ , Fortran and others. The XLNT language

225-743: A starting point for complex images; that is, they are combined with other image elements to produce a final work. Tubes can also be regarded as graphic brushes based on a pre-created image; this was their original use. Instead of leaving a trace of color on the canvas, they would leave a trail of images. Popular tube subjects include alphabets, humans (also known as dollz ), animal and toy figures, flowers, love messages and seasonal symbols. The tube system originated with PSP Pro version 5. Native tube files may be in .tub , .psp , .pspimage , and .psptube formats. XnView , IrfanView , and TubeEx are separate graphics programs that can convert tube files ( .tub ) to .png . PaintShop Pro Photo X2 Ultimate

270-467: A trusted publisher, thus preventing the execution of untrusted scripts. Note : By definition, all of these scripting engines can be utilised in CGI programming under Windows with any number of programmes and set up, meaning that the source code files for a script used on a server for CGI purposes could bear other file extensions such as .cgi and so on. The aforementioned ability of the Windows Script Host to run

315-464: A valid certificate is present on the system. Alternatively, the signcode tool from the Platform SDK, which has been extended to support WSH filetypes, may be used at the command line. By using Software Restriction Policies introduced with Windows XP, a system may be configured to execute only those scripts which are stored in trusted locations, have a known MD5 hash, or have been digitally signed by

360-468: A voucher for 21 images from Fotolia at high quality, and additional Picture Tubes. X5 Ultimate included Reallusion FaceFilter Studio 2.0, NIK Color Efex Pro 3.0, and "over 100 unique brushes, textures and royalty-free backgrounds". PaintShop Pro X6 Ultimate includes Athentech Imaging's Perfectly Clear and Reallusion's FaceFilter3 Standard. PaintShop Pro X7 Ultimate includes those same two items. The bundled extras cannot be installed unless that version of

405-816: Is a raster and vector graphics editor for Microsoft Windows . It was originally published by Jasc Software . In October 2004, Corel purchased Jasc Software and the distribution rights to PaintShop Pro. PSP functionality can be extended by Photoshop-compatible plugins . The X-numbered editions have been sold in two versions: PaintShop Pro, which is the basic editing program, and PaintShop Pro Ultimate, which bundles in other standalone programs, additional artistic tools and/or plugins. The particular bundled programs have varied with each numbered version and have not been sold by Corel as separate products. From release 8.00 onwards PSP came with an interface for automating tasks with scripts written in Python . Originally called GIF2PCX ,

450-419: Is also installed if Internet Explorer 5 (or a later version) is installed. Beginning with Windows 2000 , the Windows Script Host became available for use with user login scripts. Windows Script Host may be used for a variety of purposes, including logon scripts, administration and general automation. Microsoft describes it as an administration tool . WSH provides an environment for scripts to run – it invokes

495-432: Is an addition to Windows that is similar to the functionality of Unix shell scripts, as well as an incremental improvement upon batch files (command.com), Windows NT style shell scripts (cmd.exe) and, by way of VBScript , the replacement for QBasic , which was last available on the supplementary disc for Windows 95. The majority of the languages used for Active Scripting mentioned below are glue languages , with Perl being

SECTION 10

#1732869683251

540-491: Is based on DCL and provides a very large subset of the language along with additional commands and statements and the software can be used in three ways: the WSH engine (*.xcs), the console interpreter (*.xlnt) and as a server and client side CGI engine (*.xgi). When a server implementing CGI such as the Windows Internet Information Server, ports of Apache and others, all or most of the engines can be used;

585-546: Is downloadable for Windows 2000, Windows XP and Windows Server 2003. Recently , redistributable versions for older operating systems (Windows 9x and Windows NT 4.0) are no longer available from the Microsoft Download Center. Since Windows XP Service Pack 3, release 5.7 is the only version available from Microsoft, with newer revisions being included in newer versions of Windows since. Active Scripting Active Scripting (formerly known as ActiveX Scripting )

630-413: Is supplied with the programme, and alternate Rexx interpreters can be specified in the configuration of the programme. The MKS Toolkit provides PScript, a WSH engine in addition to the standard Perl interpreter perl.exe which comes with the package. VBScript, JScript, and some third-party engines have the ability to create and execute scripts in an encoded format which prevents editing with a text editor;

675-780: Is the technology used in Windows to implement component-based scripting support. It is based on OLE Automation (part of COM ) and allows installation of additional scripting engines in the form of COM modules. The Active Scripting technologies were first released in 1996, with the release of the Microsoft Internet Explorer 3.0 (August 1996) and Internet Information Services 3.0 products (December 1996). Usual applications of Active Scripting include Active Server Pages (ASP) server scripts , Internet Explorer , and Windows Script Host (WSH) scripts automating routine tasks, including use for login scripts, Registry manipulation, and

720-449: Is used for all components. Other components use Visual Basic for Applications . OpenOffice uses Visual Basic, Python, and several others as macro languages and others can be added. LotusScript is very closely related to VBA and used for Lotus Notes and Lotus SmartSuite , which includes Lotus Word Pro (the current descendant of Ami Pro ), Lotus Approach , Lotus FastSite , Lotus 1-2-3 , &c, and pure VBA, licensed from Microsoft,

765-556: Is used in Corel products such as WordPerfect , Paradox , Quattro Pro &c. Any scripting language installed under Windows can be accessed by external means of PerlScript, PythonScript, VBScript and the other engines available can be used to access databases (Lotus Notes, Microsoft Access, Oracle Database , Paradox) and spreadsheets (Microsoft Excel, Lotus 1-2-3, Quattro Pro) and other tools like word processors, terminal emulators, command shells and so on. This can be accomplished by means of

810-784: The VBA and Visual Studio object explorers and those for similar tools like the various script debuggers, e.g. Microsoft Script Debugger , and editors. WSH implements an object model which exposes a set of Component Object Model (COM) interfaces. So in addition to ASP, IIS, Internet Explorer, CScript and WScript, the WSH can be used to automate and communicate with any Windows application with COM and other exposed objects, such as using PerlScript to query Microsoft Access by various means including various ODBC engines and SQL , ooRexxScript to create what are in effect Rexx macros in Microsoft Excel , Quattro Pro, Microsoft Word , Lotus Notes and any of

855-539: The Windows Script File (.WSF) is that it allows multiple scripts ("jobs") as well as a combination of scripting languages within a single file. WSH engines include various implementations for the Rexx , ooRexx , BASIC , Perl , Ruby , Tcl , PHP , JavaScript , Delphi , Python , XSLT , and other languages. Windows Script Host is distributed and installed by default on Windows 98 and later versions of Windows. It

900-417: The .NET Framework had a scripting technology of its own and a separate scripting IDE called Visual Studio for Applications (VSA), and the interfaces to the technology were also available via Active Scripting, allowing even .NET-unaware applications to be scripted using .NET languages. VSA was also meant to replace Visual Basic for Applications. However, that entire technology was deprecated in version 2.0 of

945-545: The .NET Framework, leaving no clear upgrade path for applications desiring Active Scripting support (although "scripts" can be created in C# , VBScript, Visual Basic .NET , and other .NET languages, which can be compiled and executed at run-time via libraries installed as part of the standard .NET runtime). In 2006, Microsoft introduced Windows PowerShell , which can expose applications via PowerShell cmdlets or PowerShell providers. Paint Shop Pro PaintShop Pro ( PSP )

SECTION 20

#1732869683251

990-550: The GUI are the main means of implementation of installed Active Script languages. Clicking on an icon or running from the command line, a script, the Run dialogue, etc. will by default run a plain text file containing the code. A Windows Script File (.wsf) is an XML file that can contain more than one script in more than one language in addition to other elements, and are executed by the Windows Script Host. Some software such as SecureCRT use

1035-572: The PaintShop program is already installed. However, once a bundled extra such as a plugin has been installed, the installed files can be copied to other versions, e.g., a plugin installed under X5 can be copied to X6 and even if X5 is then uninstalled, the plugin will continue to work under X6. Corel releases a new X version roughly annually, so this ability to copy means PSP users do not have to choose between updating or continued use of Ultimate add-ons from previous versions. Versions X through to X8 install

1080-853: The VBScript and various Rexx-based engines are also rated as sufficiently powerful in connectivity and text-processing abilities to also be useful. This also goes for file access and processing—the earliest WSH engines for VBScript and JScript do not since the base language did not, whilst PerlScript, ooRexxScript, and the others have this from the beginning. WinWrap Basic, SaxBasic and others are similar to Visual Basic for Applications, These tools are used to add scripting and macro abilities to software being developed and can be found in earlier versions of Host Explorer for example. Many other languages can also be used in this fashion. Other languages used for scripting of programmes include Rexx, Tcl, Perl, Python, Ruby, and others which come with methods to control objects in

1125-455: The WSH functionality to allow automation by means of any installed scripting engine. The script host, related components, and engines are able to be integrated into and called from Windows applications just like any other component. Active scripting is regarded complete, and no longer under active development by Microsoft. Furthermore, scripting engines will continue to be shipped with future releases of Microsoft Windows and IIS. Originally,

1170-466: The WSH, so any language can be used if there is an installed engine. In recent versions of the Take Command enhanced command prompt and tools, the "script" command typed at the shell prompt will produce a list of the currently installed engines, one to a line and therefore CR-LF delimited. The first example is very simple; it shows some VBScript which uses the root WSH COM object "WScript" to display

1215-484: The absence of any third-party Python installation; the same goes for the Rexx-programmable terminal emulator Passport. The SecureCRT terminal emulator, SecureFX FTP client, and related client and server programmes from Van Dyke are as of the current versions automated by means of the WSH so any language with an installed engine may be used; the software comes with VBScript, JScript, and PerlScript examples. As of

1260-562: The appropriate script engine and provides a set of services and objects for the script to work with. These scripts may be run in GUI mode ( WScript .exe) or command line mode ( CScript .exe), or from a COM object ( wshom .ocx), offering flexibility to the user for interactive or non-interactive scripts. Windows Management Instrumentation is also scriptable by this means. The WSH, the engines, and related functionality are also listed as objects which can be accessed and scripted and queried by means of

1305-512: The components are available for use via the API; or one may opt to add a language and/or tool not available by default, like programming Microsoft Excel in Perl or REXX rather than Visual Basic for Applications (VBA) or transferring data from a terminal emulator to word processor by way of a spreadsheet when they have dissimilar macro tools or none at all. For many of the above uses, Active Scripting

1350-801: The data in SecureCRT , as with other languages with installed engines, e.g. PerlScript , ooRexxScript , PHPScript , RubyScript , LuaScript , XLNT and so on. One notable exception is Paint Shop Pro , which can be automated in Python by means of a macro interpreter within the PSP programme itself rather than using the PythonScript WSH engine or an external Python implementation such as Python interpreters supplied with Unix emulation and integration software suites or other standalone Python implementations et al. as an intermediate and indeed can be programmed like this even in

1395-448: The file extensions for these encoded scripts is .vbe and .jse and others of that type. Unless otherwise specified, any WSH scripting engine can be used with the various Windows server software packages to provide CGI scripting. The current versions of the default WSH engines and all or most of the third-party engines have socket abilities as well; as a CGI script or otherwise, PerlScript is the choice of many programmers for this purpose and

Windows Script Host - Misplaced Pages Continue

1440-505: The like, the XLNT script to get environment variables and print them in a new TextPad document, and so on. The VBA functionality of Microsoft Office, Open Office (as well as Python and other installable macro languages) and Corel WordPerfect Office is separate from WSH engines although Outlook 97 uses VBScript rather than VBA as its macro language. Python in the form of ActiveState PythonScript can be used to automate and query

1485-409: The like. Other administrative uses include Windows Management Instrumentation and Active Directory Service Interfaces. Active Scripting can also be used for general-purpose scripting, such as database programming, text-processing, rapid prototyping, and application macro/scripting programming; some applications use Active Scripting as the main automation method, others do not have a macro facility but

1530-677: The most commonly used are VBScript, JScript, PythonScript, PerlScript, ActivePHPScript, and ooRexxScript. The MKS Toolkit PScript program also runs Perl. Command shells like cmd.exe, 4NT, ksh, and scripting languages with string processing and preferably socket functionality are also able to be used for CGI scripting; compiled languages like C++, Visual Basic, and Java can also be used like this. All Perl interpreters, ooRexx, PHP, and more recent versions of VBScript and JScript can use sockets for TCP/IP and usually UDP and other protocols for this. The redistributable version of WSH version 5.6 can be installed on Windows 95/98/Me and Windows NT 4.0/2000. WSH 5.7

1575-478: The most commonly used third-party script engine. The interfaces to Active Scripting engines are public, so any developer can create applications that are programmable in Active Scripting languages as well as engines for additional languages. Active Scripting engines are available for several languages. Some of the most popular include: In Windows, CScript.exe at the command line and WScript.exe running in

1620-446: The most recent releases and going back a number of versions now, the programmability of 4NT / Take Command in the latest implementations (by means of "@REXX" and similar for Perl, Python, Tcl, Ruby, Lua, VBScript, JScript and the like and so on) generally uses the WSH engine. The ZOC terminal emulator gets its ability to be programmed in Rexx by means of an external interpreter, one of which

1665-663: The operating system and the spreadsheet and database programmes. One exception is that the Zoc terminal emulator is controlled by a Rexx interpreter supplied with the package or another interpreter specified by the user; this is also the case with the Passport emulator. VBScript is the macro language in Microsoft Outlook 97, whilst WordBasic is used for Word up to 6, PowerPoint and other tools. Excel to 5.0 uses Visual Basic 5.0. In Office 2000 forward, true Visual Basic for Applications 6.0

1710-550: The software was a file conversion utility, conceived by Robert Voit, used to move images between the major online platforms of the time, Compuserve and AOL. Each platform had their own file format for images, so the utility allowed users to share images on either platform. When basic image editing was added, the name was changed to Paint Shop . The first version, 1.0, supported image conversions picture converter between BMP , GIF and PCX formats, and basic full-image enhancements like changing brightness and contrast. Paint Shop 1.0

1755-465: The table below, italicized dates are approximate, based on the earliest file timestamp on JASC or Corel's FTP server. Non-italicized dates are sourced from official press releases or notifications posted on JASC's web site. Supported file formats include: Changes over Paint Shop 2.02 includes: Power pack version includes Kai's Power Tools SE. Japanese-language version was distributed by P & A, Inc. German version of Jasc Paint Shop Pro 6

1800-452: Was distributed by MicroBasic. Italian version of Jasc Paint Shop Pro 6 was distributed by Questar. Paint Shop Pro 7J is a localized version of Jasc Paint Shop Pro 7 for Japan market from P. & A. Inc., released on November 10, 2000. Polish version of Jasc Paint Shop Pro 7 was distributed by Connect Distribution. Chilean version of Jasc Paint Shop Pro 7 was distributed by Success S.A. Argentina (Spanish) version of Jasc Paint Shop Pro 7

1845-1321: Was distributed by Softland. Paint Shop Power Suite includes Jasc Paint Shop Photo Album 4, Jasc Paint Shop Xtras—Creative Edition 1, Jasc Paint Shop Xtras—Creative Edition 2, Jasc Animation Shop. If you eject a CD while the Browser palette is generating thumbnails, Paint Shop Pro no longer becomes unstable. Changes from Corel Paint Shop Pro Photo X2 include: Ultimate version includes Nik Color Efex Pro 3.0 photographic filters, buyer's choice of 21 high-quality images from Fotolia and additional Picture Tubes. Adds face recognition , instant effects palette, graduate filter effect, Retro Lab, single RAW photo, run multiple scripts, Corel guide, photo mapping, support for Adobe Photoshop brushes, RAW/JPG pair filtering, 16-bit supported in 57 additional adjustments and effects, enhanced tools (text, crop, HDR, photo blend), Share My Trip on-line slide show creation Ultimate bonus pack includes Reallusion FaceFilter Studio 2.0, NIK Color Efex Pro 3.0, Creative collection (with "over 100 unique brushes, textures and royalty-free backgrounds"). PaintShop Pro X6 Ultimate includes Athentech Imaging's Perfectly Clear and Reallusion's FaceFilter3 Standard. Picture tubes are graphic images with no background. They are often used as

Windows Script Host - Misplaced Pages Continue

1890-509: Was marketed as "Corel Paint Shop Pro Photo". Having dropped the "Photo" part of the name in version X4, Paintshop Pro X5 was derived from Ulead Photo Explorer after Corel's acquisition of Ulead. On November 28, 2007, Corel announced that the office in Eden Prairie, Minnesota , where Paint Shop Pro was created, would be shut down, with development moving to offices in California and China. In

1935-403: Was marketed as "Paint Shop Pro 5.0 with Animation Shop". PaintShop Pro X6 was the first to be available as a native 64-bit version (purchase includes both versions). PaintShop Pro X7 includes content-aware features such as "Magic Fill" and "Smart Edge" as well as support for XMP sidecar files that preserve edit settings for raw formats . From 2006 to 2011 (versions XI to X3), PaintShop Pro

1980-717: Was released by Robert Voit in August 1990. The name was changed to Paint Shop Pro when full painting, such as with variable sized brushes, was added to the product. Paint Shop was originally distributed as shareware and is still available at many download sites (4.12 being a popular version). Most newer versions are only commercially available although some have been distributed in the United Kingdom in computer magazine CDs after they became obsolete. PaintShop Pro 5 added support for layers as well as CMYK and HSL colour modes, included JASC Animation Shop for creating animations and in fact

2025-492: Was released towards the end of life of PaintShop Pro Photo X2, in September 2008. It included 150 additional picture frames and Picture Tubes, the programs Background Remover, Corel Painter Photo Essentials 4, and Photorecovery, as well as RAW support for 250 cameras and a 2GB flash drive. Subsequent Ultimate editions were released contemporaneously with the basic version. PaintShop Pro X4 Ultimate included Nik Color Efex Pro 3.0,

#250749