Wellington has a weekly recycling collection: on alternate weeks residents can put out either a bag or wheelibin of paper, plastic and metals, or a crate of glass. On the website you can search by street name to discover which week is which:
Enter the name of your street below to find out when you need to put out your rubbish and recycling, and the type of recycling to put out.
Only when writing this post did I discover they’ve made the website a bit more friendly, so it’s easy to see which week is for glass and which is for the rest.
Each Thursday when I take the dogs for a walk on the recycling collection day for our area I see stickered bags or bins left behind, because someone is always confused about which week it is.
Last year sometime I wrote a little Keyboard Maestro macro to help me: when I click an item on the Floating Macro Palette the computer says:
This is glass|plastic week. Easy.
The macro uses some Applescript to do its work. First though, I had to figure out which weeks were which. In 2013 the odd numbered weeks of the year are for glass.
I also drew on code I found online for doing the date maths.
set strtDate to date (“01/01/” & year of (current date))
set dtOffset to (current date) – strtDate
set currWeek to dtOffset div weeks + 1
if currWeek mod 2 = 0
say “This is Plastic week.”
say “This is Glass week.”
The code takes advantage of the fact that any even number divided by 2 doesn’t have a remainder (mod 2 = 0).
So all I have to do is click the entry on the Floating Macro Palette to find out which kind of recycling to put out. It works superbly.
Except when I think I know which week is which and don’t check my macro before carrying the recycling 50 metres or so up our footpath to the road.
Today the bag of shame was mine. Sigh.