Monthly ArchiveJanuary 2003

Uncategorized 26 Jan 2003 02:11 pm

Apple Software Review Site

AppleLust looks like its reviews might be useful in the future. In particular, I noticed that they reviewed some music packages.

Uncategorized 26 Jan 2003 02:28 am

Applescript revision 1

Ok, here is an altered verison of the script. I am putting it inline even though it will lose formatting to try a new Apple feature. the new Applescript Editor is available as an application service, so if the app supports it, you can execute inline Applescript snippets. So, browsing this site in Safari, I can just highlight and execute the following script:

— this little script will play a song that you choose out of a list
— of songs whose name contains a string that you choose

— choose wisely
tell application “iTunes”
tell playlist “Library”
set chosenName to “” — or your favorite default
display dialog “Please enter the song search string” default answer “”
set search to text returned of result
if search is not “” then
set chosenName to search
end if
set trackList to tracks whose name contains chosenName
if length of trackList is greater than 0 then
set trackNameList to {}
repeat with trackName in trackList
set trackNameList to trackNameList & name of trackName
end repeat
if (count of items in trackNameList) = 1 then — thanks Fred for the smooth autoplay option!
set nameToPlay to item 1 of trackNameList
set nameToPlay to choose from list my ASCII_Sort(trackNameList) with prompt “Which song” as string
end if
if nameToPlay is not false then
play track (nameToPlay as string)
end if
display dialog “No Matches to ” & chosenName buttons {“OK”} default button “OK”
end if
end tell
end tell

on seeYa()
display dialog “Thanks anyway!” buttons {“OK”} default button “OK”
end seeYa

— borrowed from an Apple script
on ASCII_Sort(my_list)
set the index_list to {}
set the sorted_list to {}
repeat (the number of items in my_list) times
set the low_item to “”
repeat with i from 1 to (number of items in my_list)
if i is not in the index_list then
set this_item to item i of my_list as text
if the low_item is “” then
set the low_item to this_item
set the low_item_index to i
else if this_item comes before the low_item then
set the low_item to this_item
set the low_item_index to i
end if
end if
end repeat
set the end of sorted_list to the low_item
set the end of the index_list to the low_item_index
end repeat
return the sorted_list
end ASCII_Sort

Uncategorized 25 Jan 2003 03:46 pm


Journalistic Ethics found linked off of Poynter.

Uncategorized 25 Jan 2003 02:41 am

Seek whence

Sequence puzzles

Uncategorized 24 Jan 2003 08:53 am

I shall endeavor to rightspeak

Thank goodness this is being created. I was afraid that our mission was not being understood overseas. This surely will help spread the truth.

Uncategorized 24 Jan 2003 02:16 am

My first applescript

Attached is my first applescript. it lets me find all tunes in iTunes that contain a portion of a string in the title. Then I can choose one of the matches to play. Here is a pretty printed version since I can’t get mt to format the way I want. Or you can download the application version and plop it in your Library/Scripts directory to use it right away.

Uncategorized 23 Jan 2003 09:26 pm

More Applescripts

iCal scheduling for scripts

Uncategorized 23 Jan 2003 09:05 pm

Applescript resource

Scripts from daringfireball

Uncategorized 22 Jan 2003 12:59 am

Protest Posters


Uncategorized 19 Jan 2003 10:27 am

Aerial view of SF March aerial shots of the march. Wow. That was a lot of people.

Next Page »