This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.
| « | June 2005 | » | ||||
|---|---|---|---|---|---|---|
| Su | Mo | Tu | We | Th | Fr | Sa |
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | ||
24 hours of Google Reader Shared Items
links for October 2, 2008
NuevaSync
Virtual Machines
Moving to Windows
Vista on Mac mini
Insecure wifi
links for September 7, 2008
links for September 6, 2008
Squeezebox Boom
For some reason, our KeypadLinc X-10 light switch got reset to the default settings, so I decided to reprogram it with some buttons that would be easier to use. Since it has 6 buttons on it, and I only need to control 3 lights, I decided to configure it so that each light would have two buttons to control it, one to dim and one to brighten.
This works fine for the light that is directly connected to the switch, but it doesn't work as I expect for the remote lights. I wanted to program the buttons so that pressing and holding the buttons would continue to send the dim/brighten commands. But it looks like for remote lights, if you use the non-toggle mode to send a bright or dim, the commands do not repeat.
(More)
I spent a lot of time this past weekend trying to improve the AppleScript that I mentioned before. I want to uses this script to automatically move all tracks that were added to iTunes, from Shrook, into a single playlist.
Since Shrook downloads all of the podcast tracks to ~/Library/Application Support/Shrook2/Attachments, all that would been needed to is to find all of the tracks in the iTunes library that are in that directory, and then make sure they were in the playlist.
The AppleScript that I wrote before does this job, but it takes a long time if the iTunes Library has a lot of tracks, as it had to iterate over each of them. So I wanted too change the script to iterate over the files that Shrook had downloaded, and then check each one to see if it has been added.
This script sample should work:
tell application "iTunes"
if (exists (get some file track of library playlist 1 whose location is theFile)) then
set this_track to (get some file track of library playlist 1 whose location is (theFile as alias))
set dbid to this_track's database ID
if not (exists (some track of playlist podcastPlaylist whose database ID is dbid)) then
duplicate this_track to playlist podcastPlaylist
end if
end if
end tell
This
work is licensed under a
Creative Commons License.
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
January 2004
Computer [765]

Blogging [112]

Links [71]

Cars [64]

Electronics [205]

General [134]

Gadgets [62]

Phone [46]

Family [13]

Games [26]

moblog [4]

Hardware [19]

Third Time Dad
Engadget
Autoblog
Geek News Central
Jessica's Blog
atmaspheric | endeavors
Paint the Tiger • Carve the Swan
TiVoBlog
SuperJason's Personal Blog
Forever Geek
sprocket i/o
Slacy's Blog