dougscripts.com

January 2024

July 22 2011 - 11:18 am

Status of Lion Updates

Since OS X 10.7 was released on July 20, the number of visitors to this site using Lion has grown from less than 3 percent to about 25 percent—and growing. Apple reported a million downloads of Lion on the first day alone. Therefore, I expect that a lot of Saturday Geek Dads (and Moms and Kiddies) will be updating to Lion this coming weekend.

Several of my applications are not yet ready for Lion. Those with the largest install-base (Dupin and Join Together) and those apps available on the Mac App Store have been updated. However, Daypart, iTunes Library Manager, and ScriptPal have not and I will be working on those in the coming days. (Actually, I expect to finish a new version of Daypart by the end of August.) And, of course, I need to update any AppleScripts that require compatibility with Lion.

Perhaps needless to say: I'm going to be very busy.

I'm pretty much aware of what needs updating and what doesn't, but if you run into a particular problem, I won't mind getting a quick email. Please don't tweet troubles, though. It's impossible to troubleshoot via Twitter. I'd much rather keep a record using email. Thanks.

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.

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.