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

  • Sunday
    12/17/2017
  • 11:51 AM - Slack Flood
  • 3:23 PM - Slack Ebb
  • 11:32 PM - Slack Flood

  • Monday
    12/18/2017
  • 6:06 AM - Slack Ebb
  • 12:37 PM - Slack Flood
  • 3:53 PM - Slack Ebb

  • Tuesday
    12/19/2017
  • 12:04 AM - Slack Flood
  • 6:41 AM - Slack Ebb
  • 1:23 PM - Slack Flood
  • 4:21 PM - Slack Ebb

  • Wednesday
    12/20/2017
  • 12:35 AM - Slack Flood
  • 7:15 AM - Slack Ebb
  • 2:10 PM - Slack Flood
  • 4:50 PM - Slack Ebb

  • Thursday
    12/21/2017
  • 1:08 AM - Slack Flood

The Narrows

  • Sunday
    12/17/2017
  • 6:04 AM - Slack Ebb
  • 11:38 AM - Slack Flood
  • 4:31 PM - Slack Ebb
  • 11:39 PM - Slack Flood

  • Monday
    12/18/2017
  • 6:42 AM - Slack Ebb
  • 12:22 PM - Slack Flood
  • 5:05 PM - Slack Ebb

  • Tuesday
    12/19/2017
  • 12:16 AM - Slack Flood
  • 7:18 AM - Slack Ebb
  • 1:04 PM - Slack Flood
  • 5:39 PM - Slack Ebb

  • Wednesday
    12/20/2017
  • 12:51 AM - Slack Flood
  • 7:53 AM - Slack Ebb
  • 1:46 PM - Slack Flood
  • 6:14 PM - Slack Ebb

  • Thursday
    12/21/2017
  • 1:25 AM - Slack Flood

Current & Tide
Predictions


Current
Corrections



Previous

Next