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
    10/18/2017
  • 4:57 PM - Slack Ebb

  • Thursday
    10/19/2017
  • 12:13 AM - Slack Flood
  • 5:50 AM - Slack Ebb
  • 12:25 PM - Slack Flood
  • 5:28 PM - Slack Ebb

  • Friday
    10/20/2017
  • 12:48 AM - Slack Flood
  • 6:37 AM - Slack Ebb
  • 1:10 PM - Slack Flood
  • 5:55 PM - Slack Ebb

  • Saturday
    10/21/2017
  • 1:22 AM - Slack Flood
  • 7:21 AM - Slack Ebb
  • 1:53 PM - Slack Flood
  • 6:20 PM - Slack Ebb

  • Sunday
    10/22/2017
  • 1:56 AM - Slack Flood
  • 8:02 AM - Slack Ebb
  • 2:39 PM - Slack Flood

The Narrows

  • Wednesday
    10/18/2017
  • 5:47 PM - Slack Ebb

  • Thursday
    10/19/2017
  • 12:11 AM - Slack Flood
  • 6:27 AM - Slack Ebb
  • 12:31 PM - Slack Flood
  • 6:20 PM - Slack Ebb

  • Friday
    10/20/2017
  • 12:51 AM - Slack Flood
  • 7:14 AM - Slack Ebb
  • 1:16 PM - Slack Flood
  • 6:51 PM - Slack Ebb

  • Saturday
    10/21/2017
  • 1:28 AM - Slack Flood
  • 7:57 AM - Slack Ebb
  • 1:59 PM - Slack Flood
  • 7:20 PM - Slack Ebb

  • Sunday
    10/22/2017
  • 2:04 AM - Slack Flood
  • 8:39 AM - Slack Ebb
  • 2:41 PM - Slack Flood

Current & Tide
Predictions


Current
Corrections



Previous

Next