dougscripts.com

July 22 2011 - 10:21 am

UPDATED: Save Album Art as folder.jpg v2.0

Save Album Art as folder.jpg v2.0 will export the artwork of the selected tracks or tracks in the selected playlist as a JPEG image file named folder.jpg to the folder which contains each selected track's file--presumably the track's Album folder. Many third-party music players and systems (Sonos, for example) may look for a "folder.jpg" file here to use as display artwork.

This latest version is written as a Cocoa-AppleScript Applet and can only run on OS X 10.6 and 10.7 systems (the previous universal version is available from the script's entry page). It consolidates all settings into a single preferences pane.

July 21 2011 - 11:35 am

UPDATED: Save Album Art to Album Folder v4.0

Save Album Art to Album Folder v4.0 is a script that will export the artwork data of the selected tracks or tracks in the selected playlist as an image file to the folder which contains each selected track's file—presumably the track's Album folder—or a specific user-selected folder. Additionally, you can customize various settings for the image file:

This latest version is a Cocoa-AppleScript Applet, so it can only be run on OS X 10.6 and 10.7.

July 20 2011 - 12:12 pm

iTunes 10.4 is Available

Obligatory post for the record: iTunes 10.4 is available, optimized for Lion--yes, that means it's 64-bit Cocoa!

July 20 2011 - 10:36 am

Cocoa-AppleScript Applets/Droplets

Apple has given AppleScript Editor in Lion the ability to access Cocoa frameworks. In a nutshell, this means that AppleScript Editor can be used to create quite complex programs (which can run on Snow Leopoard and Lion only). But as far as I'm concerned, the big bonus is the ability to create single-window UIs for some of my AppleScripts. Instead of using two or three display dialogs or choose from list boxes, a single pane incorporating many options settings can be used. I've already created some of these kinds of interfaces in the form of helper apps that I bundle with a script. But now, I can make these UIs a part of the script bundle itself, without the need to launch additional helper apps. Plus: wicked fast.

Look for these sorts of scripts and updates to scripts coming soon.

July 20 2011 - 9:41 am

Installing AppleScripts Under OS X Lion

AppleScripts need to be installed in your [username]/Library/iTunes/Scripts/ folder. But, in case you hadn't noticed, the [username]/Library/ folder is hidden in OS X Lion. The theory is that since the ~/Library folder contains a lot of important configuration files Apple doesn't want to give users the opportunity to inadvertently screw anything up. For the most part, I suppose this is a good idea. Whatever. However, AppleScripts for iTunes--among other sorts of plug-ins--have to be installed in the ~/Library folder by the user*.

To access the ~/Library folder, you can do a couple of things:

  • The easiest method: Hold the Option key while clicking the Finder's "Go" menu and "Library" will appear in the drop down menu. Select it to bring the ~/Library/ folder frontmost. Then navigate to ~/Library/iTunes/Scripts/ and copy your iTunes scripts to this folder. (As usual: if no "Scripts" folder is there then create one.)
  • Geekier: Type "chflags nohidden Library" in Terminal while the prompt is at your home directory. This will make the ~/Library/ folder visible at all times.
  • *Alternative: Install scripts in the [startup disk]/Library/iTunes/Scripts/ folder (which will make scripts available to all users on your machine) rather than the user's [username]/Library/iTunes/Scripts/ folder. That Library folder is always visible and accessible in Lion.

If you need regular access, once the ~/Library/ folder is visible, drag it to the Finder sidebar or put an alias to it in the Finder's toolbar.

Update: You can download this AppleScript applet that will make your ~/Library visible, using the command mentioned above. It takes less than a second to run it.

July 12 2011 - 9:21 am

Lion, Join Together and ChapterTool

I've been developing Join Together since 2004, when it began as just a simple AppleScript that automated the process of using QuickTime to combine the files of selected tracks into a single file. Later, I added the Cocoa interface and ability to chapterize with Apple's "ChapterTool". Well, "ChapterTool" requires Rosetta to run and Apple is discontinuing support for Rosetta in OS X Lion. That means that Join Together will be unable to to use "ChapterTool" when run in Lion and there really isn't anything I can do about it. C'est la vie, to put it politely.

There are other apps that perform similarly (and better), but I know that Join Together is a favorite among a small number of Mac users (it was designated a Mac Gem by Macworld in 2008) which is why I have continued to maintain it. Therefore, I will be releasing an updated version of Join Together that side-steps the chapterizing options when run in Lion. However, these options will still be available when it's run on Snow Leopard operating systems.

Look for the update within the next few days.

July 10 2011 - 11:53 am

Lion

Whether you'll be updating to OS X 10.7 Lion the second you can get it onto your machine or waiting to see how things shake out, there are a few things you should probably know about the downloadable AppleScripts from this site.

1. Scripts that use PowerPC helper apps. As has been frequently mentioned elsewhere since mid-June, PowerPC-only applications will not run on OS X 10.7. There are a small number of scripts that use bundled PPC helper apps and I will gradually be rolling out updates for these scripts for use exclusively on Intel machines (running Lion, Snow Leopard, and the rare Intel machine running Leopard). The older PPC versions will still be available via a direct download link from a script's entry page; they will not be updated with new features and remain as-is. I made this decision based on stats from my traffic logs which indicate that about 3 percent of visitors to this site are on PPC machines (a number that is shrinking rapidly). Everyone else is using Intel.

2. Older script applets and droplets--those written long ago on PowerPC machines--will run on any machine but you may have to open them in AppleScript Editor and re-save them. This was an issue when Snow Leopard was introduced as well. I suspect that if you are regularly using any of those kind of scripts you have already updated them yourself. I will not be updating any of these; indeed, for the most part, I haven't had to for Snow Leopard and there aren't that many anyway.

3. Scripts designated as Universal should have no problems (unless they use a older helper app, see 1. above).

4. Scripts at end of life. Many scripts in the Retro Scripts category will be removed. I'd like to keep these old-and-in-the-way scripts posted as long as possible but some of them are just plain obsolete (CDDB Safari Kit, Search WIth Sherlock, Import SoundJam Playlist, and so on). This gives me an opportunity to clear them out.

I can't test every script and your help will be greatly appreciated. If you experience any problems with my scripts during your transition to Lion don't hesitate to let me know. Please use email; I can't keep a record of tweets.

June 27 2011 - 7:13 pm

Dupin Lite v1.1 Up at the Mac App Store

Dupin's little brother, Dupin Lite, has been updated to v1.1 and is available exclusively at the Mac App Store. Dupin Lite has the core features of Dupin--Get Dupes, Filter, and Purge--but fewer accessory features. This latest version of Dupin Lite has a faster interface and makes general performance fixes.

June 27 2011 - 9:57 am

Dupin Updated to v2.3.1

Dupin v2.3.1 fixes a couple of bugs when running under Lion. Additionally, an issue with using Consolidate History on a selection has been resolved. Many thanks to the Correspondents who were quick to report these issues over the weekend.

June 24 2011 - 1:15 pm

Dupin 2.3 is Lion-ready

Dupin v2.3 is now available. Dupin is the iTunes duplicates manager, and allows you to find duplicate tracks, filter tracks to keep, and purge the tracks you don't want to keep. Using Dupin you can:

  • Very quickly find all sets of duplicate iTunes tracks based on your choice of criteria
  • Select the "Keeper" tracks from among a number of duplicates automatically using a variety of versatile filtering options
  • Consolidate the play, skip, and ratings information from all tracks in a Dupe Group to the single "Keeper" track
  • Re-populate iTunes playlists replacing "non-Keeper" tracks with "Keeper" tracks
  • Remove duplicate tracks from iTunes and send files to the Trash
  • Manage intentionally duplicated tracks
  • Copy tracks to new iTunes playlists
  • View duplicates in non-loaded libraries created with iTunes' multiple library feature
  • View duplicates in iTunes libraries on other machines on your local network
  • Sort tracks and view track info
  • Export a list of duplicates to a text file
  • Locate tracks in the Finder and in iTunes
  • Audition tracks

New in Dupin v2.3:

  • Compatible with OS X Lion
  • Fixed issue with delays caused by slow screen redrawing. Most operations will be noticably more responsive.
  • Most operations can now be performed on discrete Search results (eg, Filter just the Search results).
  • No longer necessary to confirm changes when closing Selection Window as these changes now happen "live".
  • Minor enhancements to improve overall performance.

This version is a free upgrade for registered users of v2.x.

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.