Back to page · View history on Github

📄 posts/
#lang pollen

◊(define-meta title "BBM Messenger Log Cleanup Script")
◊(define-meta published "2010-02-17")
◊(define-meta topics "Blackberry Messenger,VBscript")

As ◊link["blackberry-messenger-logs-timestamp.html"]{mentioned previously}, the CSV files produced by Blackberry Messenger 5.0+ need some cleaning up before they can be properly used. I finally wrote a short script for doing just that.

You can download the VBScript here: ◊link[""]{◊code{}}. This code is released to the public domain.

Once you have the BBM log file on your computer (email it there from your phone, again, see the ◊link["blackberry-messenger-logs-timestamp.html"]{last post} on this subject), just drag and drop it onto this ◊code{.vbs} file, and a “clean” version will be produced as a separate file in the same directory. The new file will have human-readable dates and the message will be properly escaped – in short, it will be something you can just open and use in Excel (e.g.).

◊section{Change Log}

Version 1.1 (◊emph{Feb 20, 2010})

◊item{Added ◊code{GMTOffset} constant to allow timestamps to be properly adjusted for time zones.}

◊comment[#:author "Denise"
         #:datetime "May 29, 2010"
         #:authorlink ""]{I get an error when I tried this.


I’m not sure if that link will work. I’m new to googledocs. My apologies.

Can you please help me?}

◊comment[#:author "Joel (author)"
         #:datetime "June 17, 2011"
         #:authorlink ""]{I tried opening that link but it says I do not have access to that file.

Can you explain what you did, and exactly what the error message said?}

◊comment[#:author "Gretchen Nobles"
         #:datetime "November 02, 2011"
         #:authorlink ""]{Hey --- Great script! I have a couple of questions. How do I adjust to make the time display in 12 hour format? Also --- is there a way to set my time zone? Central Standard}

◊comment[#:author "Joel (author)"
         #:datetime "November 02, 2011"
         #:authorlink ""]{If you open the .vbs script file in Notepad, you’ll see there is a place to edit the timezone.

The format of the time display actually ◊emph{is} in 12hr format in the output csv file, but by default Excel converts it to 24hr format when displaying the time value. You can display it however you want by changing the cell formatting in Excel.}