Adrian Collier - Archive

iTunes, AppleScript & Album Art



With AppleScript you can write cool automation tasks such as importing album art. Before iTunes 10.2 you had to manipulate the image as a PICT file in order for the script to execute properly. With the recent release of iTunes 10.2 this functionality broke... for the better. The fix is rather simple. All you need to do is read the data from a PNG or JPEG file! Below is how it works.

tell application "iTunes" to set data of artwork 1 of theTrack to (read (file targetImageFile) as picture)


April 08, 2011



Admiralty Inlet

  • Wednesday
    04/01/2020
  • 11:28 AM - Slack Ebb
  • 5:54 PM - Slack Flood

  • Thursday
    04/02/2020
  • 2:38 AM - Slack Ebb
  • 7:00 AM - Slack Flood
  • 12:36 PM - Slack Ebb
  • 6:59 PM - Slack Flood

  • Friday
    04/03/2020
  • 3:25 AM - Slack Ebb
  • 8:11 AM - Slack Flood
  • 1:46 PM - Slack Ebb
  • 8:01 PM - Slack Flood

  • Saturday
    04/04/2020
  • 4:01 AM - Slack Ebb
  • 9:09 AM - Slack Flood
  • 2:55 PM - Slack Ebb
  • 8:59 PM - Slack Flood

  • Sunday
    04/05/2020
  • 4:32 AM - Slack Ebb

The Narrows


Current & Tide
Predictions


Current
Corrections



Previous

Next