Windows Scripting
  Home arrow Windows Scripting arrow Page 4 - More Alternative Languages for WSH
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

More Alternative Languages for WSH
By: Nilpo
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2008-08-18

    Table of Contents:
  • More Alternative Languages for WSH
  • Object Rexx
  • KixStart
  • Ruby
  • Tips and Other Languages

  • 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


    More Alternative Languages for WSH - Ruby


    (Page 4 of 5 )

    Ruby, created in Japan, is quickly emerging as a leader in the web development community. Its scriptable counterpart is ActiveScriptRuby, sometimes called RubyScript. Its functionality is similar to Java and its syntax is as simple as VBScript. These two qualities have helped to increase Ruby's popularity. While it has the power to operate as a system scripting solution, due to its web-dev nature, I highly recommend it for use in HTML applications.

    Ruby boasts simplicity and ease-of-use. It uses a very natural syntax that makes it very easy to learn. Ruby is also very well documented. Keep in mind that most of this documentation was originally written in Japanese and painstakingly translated to English. Better written English documentation is emerging as Ruby is quickly gaining popularity in Europe and the Americas.

    require 'win32ole'

    Begin your Ruby script with this line if you want to connect to standard COM objects.

    fso = WIN32OLE.new('Scripting.FileSystemObject')

    A connection can then be made using the Win32OLE class.

    folder = fso.GetFolder('C:temp')

     

    for file in folder do

        puts file.name

    end

    Ruby then uses a common object dot syntax to access an object’s properties and methods along with a simple for structure for iterating through the elements of a collection.

    More Windows Scripting Articles
    More By Nilpo


       · WSH in not limited to Microsoft's VBScript or JScript languages. In fact, support...
     

    WINDOWS SCRIPTING ARTICLES

    - Working With Arrays in VBScript
    - Compressed Folders in WSH
    - Using .NET Interops in VBScript
    - Nilpo`s Scripting Secrets, Vol I
    - Database operations using Silverlight 2.0 WC...
    - Modifying XML Files in WSH
    - Reading XML Files in WSH
    - Visual Basic 2005 XML Programming Using XML ...
    - Creating an XML Document in WSH
    - 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

     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     




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