dougscripts.com

AppleScript

June 29 2007 - 11:27 am

First Perusal of iTunes 7.3

As far as I have been able to tell, there are no AppleScript enhancements in iTunes 7.3. The iPhone, presumably, will display as a Source (like iPod) and (like iPod) audio files on the device will not be directly accessible with AppleScript. Since I have no plans to purchase an iPhone anytime soon, I'd be interested to know if AppleScripts such as Import iPod Audio Files work with iPhone. Then again, iPhone has its own OS, so file management may be completely different than with the iPod.

June 20 2007 - 4:31 pm

NEW: Nudge Stream URL

Nudge Stream URL is a stay-open applet that will attempt to keep the currently playing radio stream active. If the stream drops out, or another track is selected, the applet will re-open the stream's URL.

June 13 2007 - 6:31 pm

FastScripts

I recently got an email nudge from developer Daniel Jalkut. He's the developer of the application FastScripts, among other things. He noticed that I provide instructions for setting keyboard shortcuts for iTunes scripts and thought I'd be interested in FastScripts. I admit that I have known about FastScripts for awhile but never got around to trying it out. Well, I finally did. FastScripts goes the Apple Scripts Menu one or three better. It supports keyboard shortcuts for AppleScripts in its menu (both application-specific and global) and has the nice effect of taking place as soon as you set a shortcut value (without having to re-start an application like you would have to do if you set shortcuts in Apple's Keyboard Preferences), and will also allow you to set shortcuts globally. FastScripts is shareware, but FastScripts Lite is free and will let you work with ten scripts. I highly recommend it.

May 31 2007 - 9:36 am

Locate .itc Artwork files

On the iTunes 7.2 info page, I've added a ham-handed script that will get the path to a selected track's .itc artwork file. It uses the persistent id properties of the current library and selected track to create the filename of the .itc file (eg: 855D16966D2635AE-E345A3A7AC7E50AF.itc), and UNIX find command to locate that file within the ~/Music/iTunes/Album Artwork folder. It then reveals the file in the Finder. Of course, more could be done with it, like converting to PNG or some such, more error checking, and so on. I've just been too busy to do much more with it ;)

May 30 2007 - 10:30 am

iTunes 7.2 AppleScript Changes

I'll be posting any AppleScript changes I find in iTunes 7.2 on this page.

May 9 2007 - 11:55 am

UPDATED: Block Party! v1.5

I've updated Block Party! to v1.5. This script creates a "Block Party" playlist of random Artists and a specific number of their randomly selected songs arranged in a row ("two-fers", "three-fers", etc). Now works faster by virtue of being a compiled script, plus a few routines have been speeded up. Other changes include the ability to filter out movie and PDF tracks, filter out tracks smaller than a particular time limit, and filter out tracks of specific genres, the latter two of which are hackable in the body of the script.

May 9 2007 - 11:43 am

NEW: Artist - Album - Disc from Selected Track

Artist - Album - Disc from Selected Track creates a new playlist--with the intention of burning its tracks to a CD--based on a single selected track's artist, album, and disc number. The tracks are ordered by album track number. There are other things to consider as well, so be sure to read the docs.

May 4 2007 - 7:31 pm

NEW: Number Song Names by Play Order

You know, there are probably four or five scripts here that attempt to number tracks or filenames the way people want. This has been an activity going back to SoundJam. Number Song Names by Play Order approaches the problem a little differently. The script will prefix each selected track's Song Name (I use the old "Song Name" nomenclature when actually the Song Name is now called "Name") with the number of its order in the selection (01, 02, 03...and so on). The selected tracks must be in a playlist that has been sorted by Play Order; ie, a user-created playlist, not a so-called "Master" playlist. The selection of tracks need not be contiguous, however it is important to have already established the Play Order. There's also an option to inhibit iTunes from renaming the tracks' filenames, since iTunes will automatically do that when you change a Song Name.

May 3 2007 - 4:06 pm

NEW: Get Airdate and Network

A Correspondent inquired whether the original airdate info for a TV Show track could somehow be obtained from the internet. While the IMDB offers this info, you can't really get at it so good with AppleScript, so I went with the--presumably--next best thing, which is IGN.com. Get Airdate and Network will use the show and episode names of a single selected TV Show track in iTunes to search the IGN.com website for that episode's page and then parse that page for the original airdate and network. You can then either open IGN.com's page for the episode or add the info to the selected TV Show's comment field. Note that results using this version are not one-hundred percent fruitful.

April 30 2007 - 9:07 am

UPDATED: De-Genre v2.0

Eliminate superfluous Genre names fast with De-Genre v2.0. This script re-assigns the Library tracks of selected Genres to another Genre so that the original--and consequently un-assigned--Genres disappear from iTunes' Genre pop-up list. As you may know, you can make many superfluous Genres vanish from iTunes' Genres pop-up list simply by eliminating a reference to them in your tracks; when no tracks are assigned to a particular Genre, that Genre will be dropped from the list. (iTunes original Genre names cannot be removed this way; only those accumulated from other sources or created by you.)

Site contents © 2001 - 2024 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.