Windows Scripting
  Home arrow Windows Scripting arrow A Portable Scripting Toolbox
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

A Portable Scripting Toolbox
By: Nilpo
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-08-27

    Table of Contents:
  • A Portable Scripting Toolbox
  • Every script author needs a good editor!
  • What's the object here?
  • Put your library in your pocket
  • Don't reinvent the wheel

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    A Portable Scripting Toolbox


    (Page 1 of 5 )

    Windows scripting is like anything else. Having the right tool for the job makes life a whole lot easier. There are a plethora of coding environments and IDEs that have been built for Windows scripting. Unfortunately, quite often scripts need to be written on location, without the help of these friendly applications.

    Thankfully, you're not out of luck.  There are a number of stand-alone applications that can make your life easier and provide you with more than Notepad when you're away from your development machine.  Here's some of the ones that I recommend and think that no scripter should do without.

    I've taken special care to choose tools that I know work, and don't require installation.  Since these tools are portable, you can throw them on a USB drive and literally carry everything you need to write any script right in your pocket.  You may find some of these tools so useful that you'll keep them on your development machine as well.

    As I see it, a scripter has three basic areas of need.  The first of these is a decent editor.  While Windows scripts are nothing more than plain text files, you don't want to resort to using Notepad if you really don't have to.  Good editors geared toward Windows scripters are very hard to find, but I've got a suggestion for you that you'll probably find very useful.

    The second need as I see it is being able to find the objects that you need and to be able to see their methods and properties.  Without auto-complete, and possibly without Internet access, writing scripts can become extremely frustrating without a little help.  This is where object browsers come into play.  They have the ability to examine the registry and local type libraries and expose information about the objects that are installed on the current system.  This applies for WMI as well.

    The third need that I see is good documentation.  Simply finding objects and methods is not always enough.  Having a good error code reference and documentation of common objects can save loads of debugging time.  While most people won't be able to carry the MSDN Library with them, there are several reference sources that can prove invaluable.  Along with documentation, I'll also show you several sample code libraries that you can take with you on the go as well.

    I've also decided to include one last group of tools for scripters.  While this doesn't address a specific need, it can certainly increase productivity.  These are portable code generators.  You provide a few simple details about a task you wish to perform, and these guys can spit out relevant code for you-saving lots of development time.

    More Windows Scripting Articles
    More By Nilpo


       · Often times I am required to put together Windows scripts on-site at a moment's...
     

    WINDOWS SCRIPTING ARTICLES

    - Introducing Two-Way Data Binding using Silve...
    - Silverlight 2.0 Application Development with...
    - Burning Multisession CDs with IMAPI2 in WSH
    - Creating a Silverlight 2.0 Application that ...
    - Burning CDs with the IMAPI2 Control
    - Burning CDs in Windows XP with WSH
    - Advanced Word Object Scripting
    - Reading and Printing Word Documents in WSH
    - Scripting Microsoft Word
    - Using WSH to Catalog MP3 Files
    - Reading MP3 ID3 Tags in WSH
    - A Brief Look at Menus in WPF
    - More Examples of Simplified Image Processing...
    - Completing a WPF To-Do List Application
    - Simplified Image Processing in GDI+





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT