Oct 21 2009

Below is a very basic way to check for error’s when creating basic Vb-script’s. Just add this procedure to your script and call it after your main code has been executed. This is useful if you run and test a lot of scripts from the command prompt on a Windows machine. I wouldn’t recommend this as a long term production solution but it’s quick and gets the job done for trouble shooting!

Jan 17 2009

Simple Encryption Tool

Posted by: Chace in Categories: Code, Encryption, Privacy, VBScript.
Using Tags: , , ,

So lately I have been trying to keep better records of my spending habits to better understand my financial status. This means I have been recording all my bills, when they were paid, all my receipts for everything from food to gas, entertainment to clothes. I got this idea from my cousin who has been doing this for some time and I just made my own modified version based off his spreadsheet. I carry this spreadsheet with me on my 4gb thumb drive along with some useful apps, some music, Xampp and a few other things. What happens if I lose my thumb drive accidentally? Whoever finds it could then go through all this information and do what they please with it.

Since I work for a company on a system that uses different forms of authentication and encryption for sensitive data I decided to take my first attempt at a simple yet effective encryption tool for my Financial spreadsheet. This actually turned out pretty good in that it can be used on roughly any type of file and is so jumbled that unless the person trying to decrypt the info has your passkey, they data is gone! Any how the name of the file is EncDec.vbs and as you can see is written in VBScript and can be run by double clicking the file. Since the VBScript isn’t compiled and can be seen by anyone you would think that someone could simply reverse the code to decrypt the file, but without the passkey it is not likely at all. Read the entire post…

Nov 17 2008

Remove Duplicates from iTunes

Posted by: Chace in Categories: Code, VBScript.
Using Tags: , , , ,

A lot of times when we are adding songs to our beloved iTunes, we don’t have time or patience to load songs individually so we just add the whole music folder, causing iTunes to load duplicates of the same song. Several friends have asked me if there is a way to removed duplicate tracks from an iTunes library. Jeff Story of treeratfishing.com thankfully already had a script made that does this job for us.

To do this, simply download the Visual Basic Script from here and save it first, then run it from your machine. The original script would not let you know it was running until it finished. One way to be sure or to check on it is to navigate to your iTunes main music library and watch the statistical information at the bottom of the window. If this script is still running you will see the total songs decrease. Once the script has finished it will give you a pop-up alert telling you it is finished. I have also modified the version downloaded from my site to alert you that the script is starting to make life easier.

I usually run this two or three times just to make sure it gets all the duplicates and even triplicates (is this a word?).

Another issue with iTunes is that when we download music from an application other than iTunes, a lot of times we have to manually add the music to our iTunes library. I am in the process of creating a script that will add any new songs found in a specified folder to the iTunes music library, and this will also help make life easier as well as stop us from loading all these duplicates. In addition I also have a SourceForge project open for this script which you can find here. There isn’t much there now since it isn’t finished but just FYI.