Monday, September 20, 2010

VBScript - Change your list seperator/delimiter

Depending on what I'm doing I like to change my list separator accordingly. Sometimes I need to create/open a .csv file except I don't want comma's to be the seperator in that file. Other times I do... So I decided instead of having to constantly go into the control panel and change my settings I just created two scripts. One with "|" as the list seperator and another with the standard comma.

What this script does exactly is goes into the registry and overwrites the current list separator with the one provided. Just change the highlighted value from a , to whatever you'd like.

const HKEY_CURRENT_USER = &H80000001
strComputer = "."
 Set StdOut = WScript.StdOut
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strValue = ","
oReg.SetStringValue HKEY_CURRENT_USER,
Control Panel\International,sList,strValue





Of course this is just a standard registry string creation script so it can be modified to do endless things with. Get creative but please know what you're doing. Messing around in the registry can be nice, but it can also be very dangerous.

 
 Requirements:
Windows XP or newer


As always all questions and comments are welcome and appreciated. Thank you and god bless.

Tuesday, September 14, 2010

Applescript to delete all cookies

Cleaning out your browser cookies can be a pain to keep up with and cleaning out your flash cookies is an even bigger pain. My resolution to this is a simple script that deletes all browser and flash cookies and then empties the trash. I personally have THIS SCRIPT run at login so I don't have to be bothered with it.

For those of you who don't know flash cookies are not like regular cookies in that they are not controlled through your browser settings and they are capable of storing much more of your personal information. So when you go in to "remove cookies" you're not getting rid of these guys. Even more so some of these use the data storage to reinstate the traditional browser cookies that you've already deleted. So even if you get rid of a tracking cookie that cookie's ID will be assigned back to a new cookies again using the flash data as the backup.

So now that I've briefly described some of what Flash cookies are capable of and how you can't get rid of them in the traditional way you can with cookies you're probably wondering how. For those of you who want to manually delete them here are the path locations:

As you can see they are stored in two locations. I have included instructions on how to automate this script to run whenever you login as to avoid having to remember to clear your cookies. I still would highly recommend doing so again before and after all online banking. 

Please note this method of removing flash cookies only applies to Macintosh computers and is not at all similar to how they have to be removed on Windows.  

 Requirements:
Macintosh OSX 10.3.x or newer


As always all questions and comments are welcome and appreciated. Thank you and god bless.

Disclaimer: Your use of the information contained in this blog, is solely at your own risk. All information provided on this blog and in its downloads are "as -is", without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement. Further, we shall not be liable for any damages you may sustain by using this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages. 

Monday, September 13, 2010

VBscript - Gather All local users and group members

I created THIS SCRIPT to help audit who has access to a list of servers and what level of access they have. What this script does is read a text file (servers.txt) and outputs a .csv file listing all local accounts and all groups with their members along with if the account is enabled or disabled. It also creates a compare list of all the administrators so if the script is run once a week/month or what-not you are provided with a list of the New administrators of that time period which is created in a separate .csv called New Admins(date).csv

I do my best to keep these scripts easy to read and easy to modify as desired, however it is highly recommended that you are aware of what exactly each and every script you execute is performing.

 Requirements:
Windows 98 or newer


As always all questions and comments are welcome and appreciated. Thank you and god bless.

Disclaimer: Your use of the information contained in this blog, is solely at your own risk. All information provided on this blog and in its downloads are "as -is", without any warranty, whether express or implied, of its accuracy, completeness, fitness for a particular purpose, title or non-infringement. Further, we shall not be liable for any damages you may sustain by using this information, whether direct, indirect, special, incidental or consequential, even if it has been advised of the possibility of such damages.

Sunday, September 12, 2010

Christmas Countdown Widget

For my first creation I would like to share a Christmas countdown widget I created for 2010. My sister was telling me how she couldn't find any good Christmas countdown widgets out there and instead of waiting for the time to be closer to Christmas and have more people create them I decided to provide her with one of my own. By clicking THIS LINK you will be given a zip file containing the Christmas countdown displayed below. The snow globes, fireplace and tree are all animated.
 Requirements:
Macintosh OSX 10.4.x or newer 






As always all questions and comments are welcome and appreciated. Thank you and god bless.

Introduction

I've decided to create this blog for the sole purpose of sharing my compilations. I mainly write scripts but occasionally will create a widget or applet. Most of these creations are intended to make my life somewhat easier whether it's at work or personal. I hope you find them useful too and please feel free to share any and all creations of your own.

Since this is a sharing blog it will not be updated daily but only when I have something new to share. Typically that's every few days so we'll just see how things go.

All questions and comments are welcome and appreciated. Thank you and god bless.