VbsEdit, the award-winning VBScript editor that dramatically reduces the time you spend writing .VBS scripts

Sample scripts


Scripting Techniques
   Dictionary Objects
       Verify the Existence of a Dictionary Key

' Verify the Existence of a Dictionary Key


Set objDictionary = CreateObject("Scripting.Dictionary")

objDictionary.Add "Printer 1""Printing"   
objDictionary.Add "Printer 2""Offline"
objDictionary.Add "Printer 3""Printing"

If objDictionary.Exists("Printer 4"Then
    Wscript.Echo "Printer 4 is in the Dictionary."
Else
    Wscript.Echo "Printer 4 is not in the Dictionary."
End If



VbsEdit includes all these samples!




Download Now!

Version 5.4.1 - This package includes VbsEdit 32-bit, VbsEdit 64-bit, HtaEdit 32-bit and HtaEdit 64-bit.
The evaluation version never expires.



Home

Copyright (C) 2001-2012 Adersoft