CSV Email Stripper Program

EmailStripper 0.1 screen compilation

Here’s a little open source Email Stripper freeware application that is essentially hacked together by yours truly in response to the mess that Hotmail exports. I needed a clear list of emails (for import in MailMan), cleaned for duplicates and without linebreaks and with a specific line deliminator; see screenshot for basic operation. The regexp detection is based on RFC 2822. Since I’m still Linux/OSX challenged this little app is Windows XP/Vista/7 only.

You can download the compiled exe from here:
EmailStripper.zip (version:2010-02-04 (0.1)) (thanks to Citif.dk for hosting) –note: AU3 compiled exe’s has history of being falsely detected as vira/malware,

And here is the source code (AU3 based), please post improvement in comments and I’ll update the post accordingly.


#cs ----------------------------------------------------------------------------
Script Name: email_stripper
Script Version: 2010-02-04 (beta)
Author: softhacker
Script Aspects:
    Strips emails from for an example csv outputs from hotmail or others
    RegExp taken from http://www.regular-expressions.info/email.html (RFC 2822)
#ce ----------------------------------------------------------------------------
#Include "Array.au3"
$pathtofile = FileOpenDialog("Please select file to strip from",@ScriptDir,"Pure txt files (*.txt;*.csv)",1)
$filehandle = FileOpen($pathtofile,0)
$text = FileRead($filehandle)
$text = StringLower($text)
FileClose($filehandle)
$emailarray = StringRegExp($text, "[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?", 4)
Dim $cleanedemailarray[UBound($emailarray)]
For $i = 0 To UBound($emailarray) - 1
    $match = $emailarray[$i]
    For $j = 0 to UBound($match) - 1
        $cleanedemailarray[$i] = $match[$j]
    Next
Next
_ArraySort($cleanedemailarray)
$cleanedemailarray = _ArrayUnique($cleanedemailarray)
_ArrayDelete($cleanedemailarray,0)
$deliminator = InputBox ( "Please enter the delimiter needed between emails", "Enter deliminator(s) (; , | - )", ";")
$linebreakanswer = MsgBox(36,"Linebreaks or not","Do you want linebreaks after each entry?")
If $linebreakanswer = 6 Then $emailstring = _ArrayToString($cleanedemailarray,$deliminator & @CRLF)
If $linebreakanswer = 7 Then $emailstring = _ArrayToString($cleanedemailarray,$deliminator)
$filenametosaveto = FileSaveDialog("Please select file to save stripped material to",@ScriptDir,"Pure txt file (*.txt;*.csv)",16)
$filehandle = FileOpen($filenametosaveto,2)
FileWrite($filehandle,$emailstring)
FileClose($filehandle)

‘color.get’ Micro Application

Screenshot of freeware get.color micro app

Grabbing color from video using freeware get.color

This little free application, get.color, allows you to get the html color code of the current pixel the mouse-cursor is hovering above by holding a selected hotkey pressed – simply double click the left mouse button to copy the html RGB color code into the clipboard (in the format of, for example, “#247ca4” without the quotation marks). Perfect for use when designing webpages, copying stubborn colors between different Photoshop clones or the likes of it. See screenshots for examples of how it can grab color from webpage or indeed anything you have on your screen (video..etc. perhaps with the exception of DirectX games, I don’t game currently so can’t tell you, update: user-comment from Ekkoreverb suggests that it does not work and may indeed bring DirectX games down so guess its a no luck thing)

Another get.color screenshot

Taking color from webpage with get.color

The freeware app has no installer and can be manually placed in the Window’s “Startup” folder if you like. It starts a little color-pipette icon in the traymenu which you can rightclick to edit the config file or to shut it down. Also, the default hotkey is F2, simply hold it pressed to see get.color in action

You can download the archive from here:
get.color.zip (version:2009-08-29) (thanks to Citif.dk for hosting!)

Contents of archive must all be unzipped in same folder for the freeware utility to work. The software is provided as freeware if anyone should be seriously interested in improving upon it then I’ll be happy to Open Source it. Leave a comment on this posting if you’re interested in getting in contact about get.color