Saturday, April 29

iPod scripts

Well, as requested last week by a commenter visiting from Lifehacker, here are the scripts that I mentioned in a Lifehacker comment about GTD software.

I use Plaxo to keep my contacts in sync on both my Macs, and Google Calendar is my home-base for calendar information. I subscribe to my Home and Work Google calendars on both machines, as well as the US Holidays calendar from apple.com. My home Mac also publishes a Birthdays calendar (taken from the birthdays of all my contacts in Address Book) to icalx.com, and I subscribe to it via gCal and on my work Mac.

Now that I've explained the data in my system, here are the scripts (hopefully they're well-commented; otherwise you can leave comments here if you need more explanation):

iPod scripts

The iPod_script_office and the iPod_script_home both reference themselves in "tell" blocks (they're each saved as "iPod_script" on their respective computers, so they won't compile properly unless you've already got an iPod_script application available. Either create a dummy script app via the Script Editor, replace the "tell" block by something else temporarily, or just read the scripts in a text editor so Script Editor won't get confused.

No comments:

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License. Permissions beyond the scope of this license may be available by emailing the author (use the link above).




The Geek Code desperately needs updating, but in any case here's mine (as of 2010-02-28):

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/MU d+(-) s:+>: a C++> ULXB++++$ L+++ M++ w--() !O !V P+ E---
W+++ N o++ K? PS PE++ Y+ PGP t !5 X- R- tv+@ b++ DI++++ D--- e*++
h--- r+++ y+++ G+
------END GEEK CODE BLOCK------


If you really care about knowing what that all means, you either know the code already, or you can get it decoded for you here.