Archive - June 2012

"Motivation will almost always beat mere talent." - Norman R. Augustine
 
 
  

Index
bar1
Combine Excel Files
Convert CSV to Excel
Convert Excel to CSV
Determine 32bit 64bit OS
Draw Excel Pie Chart using VBScript
Iterate through Folders
Sort Servers/Web Sites by Response Time
Forensic Script
Create Simple Event log
Compare WMI Device IDs
Stop Java Pop-ups
Simulate Left Mouse Click


bar1






Δ Saturday, June 30th, 2012
bar1


Δ Combine Excel Files

How to combine excel files

[download resource files]

Demo
demo
 

This script will take 2 excel files and basically combine them into one excel file with a new excel file name. 
It uses the Excel.Application to interface with the excel application, and actually lets excel do the work. 
As you can see, it shuffles around worksheets until the final output is the new specified file.



Δ  [email me]

bar1





Δ Thursday, June 21th, 2012
bar1


Δ Convert CSV to Excel

How to convert csv to excel

[download resource files]

Demo
demo
 

Just like in the script above, this script uses the Excel.Application to interface with the Excel Application. 
The script just imports the CSV, fits it to the columns, performs a few excel tasks like making headings
bold, and then saves, thus converting it from CSV to XLS.



Δ  [email me]

bar1





Δ Sunday, June 17th, 2012
bar1


Δ Convert Excel to CSV

How to convert excel to csv

[download resource files]

Demo
demo
 

This script takes the data inside an excel spreadsheet and perorms a generic save as CSV, thus
convertiing it from XLS to CSV.  The important part is the instantiated object: Set objXL =
CreateObject "Excel.Application").



Δ  [email me]

bar1






Δ Saturday, June 16th, 2012
bar1


Δ Determine 32bit 64bit OS

How to return bit version

[download resource files]

Demo
demo
 

This script uses a simple reg key string comparison to return whether the operating system is either 32 bit
or 64 bit.



Δ  [email me]

bar1






Δ Wednesday, Juney 13th, 2012
bar1


Δ Draw Excel Pie Chart using VBScript

How to draw charts in excel

[download resource files]

Demo
demo
 

Pretty cool script that will draw a pie chart based upon the specified data.  By interfacing into Excel using
Set oExl=CreateObject("Excel.Application"), the script can then pass commands for excel to perform the
chart creation.



Δ  [email me]

bar1






Δ Sunday, June 10th, 2012
bar1


Δ Iterate through Folders

How to iterate through folders

[download resource files]

Demo
demo


You just never know when you're going to need to perform a function on a folder and its subfolders;
that's exactly what this script allows you to do.  It uses a simple "for each" to setup a cycle through
routine.



Δ  [email me]

bar1






Δ Saturday, June 9th, 2012
bar1


Δ Sort Servers/Web Sites by Response Time

How to sort with response time

[download resource files]

Demo
demo
 

Okay, so let's say you have 10 file servers dispersed through your enterprise. When users are
downloading and running apps (or you are just deploying ondemand apps to their desktops) you
want to make sure they are using the fastest server available once the installation has been
started - kind of a perferred server based upon network/lan/wan speed; that's exactly what this
script can do. It returns in order from fastest to slowest connections which could be integrated
into your own scripts to perform all kind speed based tasks. You just have to add the logic
"if this" - "do this"



Δ  [email me]

bar1






Δ Thursday, June 7th, 2012
bar1


Δ Forensic Script

How to check a user's machine for non-authorized files

[download resource files]

 
Have you ever wanted to know exactly which users have music, videos and other non-authorized file types on
their computers?  Well, this script will allow you to scan their machine and return whether they are guilty or
non-guilty of violating the business' storage policies.



Δ  [email me]

bar1






Δ Wednesday, June 6th, 2012
bar1


Δ Create Simple Event log

How to create a log

[download resource files]


Pretty self-explanatory, it creates an application event log.



Δ  [email me]

bar1






Δ Tuesday, June 5th, 2012
bar1


Δ Compare WMI Device IDs

How to compare WMI

[download resource files]


This could be used to identify whether a device is connected or not connected to a PC.  Then you could
perform certain functions based on the returned information.



Δ  [email me]

bar1






Δ Monday, June 4th, 2012
bar1


Δ Stop Java Pop-ups

How to stop annoying java pop-ups

[download resource files]

 
Are you tired of Java pop-ups annoying you and your customers?  Well do something about it.  You will
still need to update Java occassionally :-)



Δ  [email me]

bar1






Δ Saturday, June 2nd, 2012
bar1


Δ Simulate Left Mouse Click

How to script a mouse click

[download resource files]

Demo
to be added
 

Do you need to simulate a mouse click?  Ever need to just push the left click button to complete a
mundane task over and over again?  Now you can.  You can even move the cursor to an exact coordinate
on the screen before pressing the left click.



Δ  [email me]

bar1






 
 










  About

   I'm a Computer
   Systems Engineer

   Living and Loving Life

 

  Author