Monthly Archives: June 2009

fun misc

Archiving outlook emails, gmail style

archive
In Nakheel we have a maximum email quota which gets filled up pretty quickly if you receive large attachements, such as presentations, manuals and silly movies. I wanted to build a macro that imitates Gmail awesome archiving method.

Based on the lifehackers’s article, my version had to move the my selected mails to a PST file on my disk, freeing up space on my “online mailbox”.

I won’t repeat how to make the macro and all, the lifehacker’s article does a very good job in that. I just made a few changes to the code, and that is below:

Sub Archive()
  pst_file = "C:\Backup\archived.pst"
  Set ns = Application.GetNamespace("MAPI")
  ns.AddStore (pst_file)
  Set ArchiveFolder = ns.Folders("archived")

  For Each Msg In ActiveExplorer.Selection
    Msg.Move ArchiveFolder
  Next Msg
End Sub
misc uae

When health warnings and math don’t go together

Health Warning - Gasoline
Health Warning - Gasoline

I got an email today from a colleague, warning about a poisonous gas called gasoline. Odd in a oil-rich country though.

If you read it, you’ll notice that 15 degrees Fahrenheit is 6 degrees Celcius or 60 degrees Celcius. In reality, 15 degrees Fahrenheit is -9 degrees Celcius. I guess this memo wasn’t really talking about Abu Dhabi’s sunshine.

Let’s assume that you don’t want to open the windows for a while when driving in -9 degrees. And that the gasoline fumes you get while filling up at a petrol station are bit more dangerous (or more fun?) then your average plastic seat covers.