Category Archives: Computers

All things computer related.

Gmail scripts – Mark Read During Business Hours

I quickly threw this together. The following script would mark all Gmail email coming in to be read if it’s Monday through Friday between the hours of 9am and 5pm. This is done at http://script.google.com with the API from https://developers.google.com/apps-script/reference/gmail/.

Don’t forget to click on Resources > Current Project’s Triggers and have it run once a minute!

function markReadDuringBusHours() {
    var currentDate = new Date();
    var currentDay = currentDate.getDay();
    var currentHour = currentDate.getHours();
    var threads = GmailApp.getInboxThreads();
    if (currentHour > 8 && currentHour < 18 && currentDay > 0 && currentDay < 6)
    {
        GmailApp.markThreadsRead(threads);
    }
}

Speed Up iPhoto ’09 Launch Time

This comes from the MacOSXHints.com site.

The start time in  iPhoto '09 can take minutes if you have a really large database of photo (like 30k plus). But even if you have a small database, this will still speed up your launch time.

How To

Open Terminal and type:  cd "~/Pictures/iPhoto Library"

Then execute the following command: for dbase in *.db; do sqlite3 $dbase "vacuum;"; done

 

That's it! You should notice an improvement in your startup time.

How to Make Your XP Work and Look Like Leopard

Install this version of RK Launcher (most articles refer to an older version). This is your doc with stacks:
http://windowsedge.com/forums/?showtopic=2158

Install Transbar to make your Taskbar transparent and then move it to the top. I still like having the bar around. You'll make it white when you do the style install:
http://www.pcworld.com/downloads/file/fid,24157-order,1-page,1-c,alldownloads/description.html

Install Windows Search 4 (works like Mac Spotlight somewhat):
http://www.microsoft.com/windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx

Patch your UXTHEME.DLL file so you can install a custom theme:
http://www.ghacks.net/2008/01/21/uxthemedll-patcher-for-windows-xp-and-vista/

Install a Leopard theme (there are many out there):
http://neodesktop.deviantart.com/art/Leopard-2-0-58534221

Get Safari for Windows:
http://www.apple.com/safari/download/

If you really want Expose, then check this out:
http://www.petefreitag.com/item/124.cfm
or
http://www.docs.kr/

Mac mouse pointer cursors:
http://www.winmatrix.com/forums/index.php?act=Attach&type=post&id=999
(put in a folder in C:WindowsCursors) I had to go through and pick each one and create a new theme. Maybe I missed something. Either way, it works.

Oh yeah, the background image. Take your pick:
http://www.flickr.com/photos/dominoes/544155098/sizes/l/

or better yet get them from InterfaceLift, the best place for wallpapers.

Spaces? Well, you can run this app which is permanently in beta or just run the XP Powertoy Virtual Desktop Manager and get almost the same functionality (at least you can assign shortcut keys but no corners). While you're on the XP Powertoy page, install some other goodies like the Atl-Tab Replacement and Open Command Window here. They're helpful.

That's about it so far. As I continue, I'll add more to this post.

No more iPod dock receptacle accessories allowed by Apple?

that doesn't support mic components. Plus, it's a homemade thing and costs $65, a bit much for an extension cord. The only other thing I could find was SendStation's Dock Extender. If I bought 10 of them and strung them together, it might work but that'd cost me $280.

I emailed SendStation to ask if they would create the cable I need. The response was:

we'd love to make a dock extension cable, unfortunately Apple doesn't
authorize any further accessories with dock receptacle. As you might
know the cable shown at cablejive.com is a home-made product and not
licensed by Apple.

Apple doesn't authorize it? Why not? Does this mean a company can't build one and advertise that it's for an iPod? Is this some kind of CorPOrATe CONSPIRACY?!? I want my cable!!!!

UPDATE: MicroMemo might be my solution! Here's a review . Screw iMic!