0
votes
1answer
21 views

Applescript to set Track Comment to Rating

I'm trying to develop an applescript that sets the comment tag to the track's rating. i.e., if it's a 3 star track, I want the comment to say "3 Star". tell application "iTunes" set theTrack to ...
1
vote
2answers
43 views

automate app launch at midnight ?

How might I use Automator or Applescript to launch iTunes at midnight, and kill it at 5am ? (This is the only time when I have unlimited bandwidth.. rural sat-based ISP.. ugg.) Thanks.
1
vote
0answers
22 views

Pausing workflow until action complete

I have Hazel set up on a media server to automatically add files to specific iTunes playlists based on a text tag in the directory name. Several users will send us individual files or directories ...
0
votes
1answer
64 views

Change the current iTunes song's rating after it finishes playing?

I use smart playlists in iTunes. For example: Play only songs rated 4 stars or higher with comments containing "mellow" (I use comments as tags, more or less, so that would be a mellow best-of ...
2
votes
1answer
43 views

Possible to automate entering star ratings and play counts for identical/duplicate song in iTunes?

I'm in the process of replacing my low quality <192 kpbs MP3s into either 320 kpbs MP3 or ALAC files in iTunes. Right now my routine is to import the new HQ files to iTunes, go to "Show Duplicate ...
0
votes
2answers
41 views

AppleScript to get all tracks from albums with less then a certain number of tracks

How would I write an AppleScript to get all tracks from albums with less then n tracks in iTunes?
1
vote
2answers
102 views

How to display the MiniPlayer in iTunes with AppleScript?

I use an Automator workflow to open iTunes at startup, etc. I'd like it to open the MiniPlayer window. I don't see a function to do that in Automator. How could I do this with an AppleScript script? ...
1
vote
1answer
35 views

Move Photos from iPhone to iPad

I have to help someone do this, so I do not have the devices in front of me to play around with. There are three devices involved: Macbook (don't know what model) iPhone (don't know what model) ...
1
vote
1answer
90 views

How to tell if iTunes in the mini player mode from applescript

Is there a way to tell if iTunes is in mini player mode from applescript? Using Mac OS X 10.8.4 Mountain lion.
5
votes
3answers
215 views

Set a keyboard shortcut to clear all tracks from the Up Next queue in iTunes

I am looking for a way to assign a keyboard shortcut to clear all the tracks from Up Next queue of iTunes. Does anyone know a way to do this? Using Mac OS X Mountain Lion 10.8.4
1
vote
2answers
184 views

Why does iterating over a list in applescript with `repeat with … in` fail with error code `-1731` part way through the list?

I have this script for ensuring that every track in a given smart playlist is both shufflable and bookmarkable. The script is inteded to be launched via launchd. All of this is set up fine except ...
1
vote
0answers
17 views

Possible to Detect All the Podcasts in iTunes That Are Marked to Not Allow Auto Delete?

I'd like to, for my own nefarious reasons, be able to see which files iTunes currently thinks it can't auto delete. Applescript or summat would be fine, although a smart playlist would be even ...
0
votes
1answer
97 views

How do you set the selection in iTunes in an AppleScript

I'm writing a script in iTunes, part of which changes the selected playlist. When I'm all done, I want to restore the playlist and the selected tracks. I was able to do the first, but haven't found a ...
3
votes
1answer
1k views

Create playlists for full albums in iTunes (i.e. albums with all songs)

How could I create playlists for all of the albums in iTunes for which I have all of the songs? Assume that track number & track count metadata is accurate where specified, and don't worry about ...
0
votes
1answer
154 views

Script to Update/download most recent iTunes podcast WITHOUT opening iTunes at all?

I have a couple favorite podcasts that I subscribe to in iTunes. I'm using You Control (so I don't have to open iTunes to play my music). I'm using Keyboard Maestro. I've made a macro that runs ...
0
votes
1answer
69 views

Turn on iTunes EQ via AppleScript

Can I turn the iTunes EQ on/off using AppleScript? I found a way to change the preset, but not turn the EQ on or off.
1
vote
2answers
795 views

How to check which files are not in iTunes library, but are in iTunes folder?

This is a question from Wil Wheaton's google+, but I would like to get an answer too, stackexchange style. Suppose you have all your music in a folder called /iTunes/Music. When you add files to ...
0
votes
2answers
162 views

How do I copy the location of a track to the “Comments” section in iTunes?

I dont understand why this is not working. If anybody knows how to resolve this issue: tell application "iTunes" copy location of track 1 of playlist "Test" to Comments end tell Applescript ...
0
votes
1answer
241 views

Set Specific Podcasts to Show as TV Shows in iTunes, using AppleScript

I'm using on online TV recorder to record TV shows. Those recordings are downloaded as a podcast to iTunes. My following Applescript should just grab those podcasts, update some info fields and ...
2
votes
1answer
192 views

Launch Genius via AppleScript

I would like to launch a Genius playlist for the currently playing song in iTunes via an AppleScript. A prerequisite would be for the script to work when iTunes is in full screen. And ideally, it ...
1
vote
1answer
730 views

Deleting all songs in a given iTunes playlist using Applescript

I'm working on a script to manage my "queue" playlist in iTunes and wanted an easy and fast way to quickly delete all songs in that playlist. Applescript seemed the best option and I created a little ...
1
vote
1answer
312 views

An iTunes Applescript that appends to tag only when it doesn't match part of the tag string?

I'm trying to find a way to add a keyword or group of words/tags/strings to a set of selected iTunes tracks if they haven't been added. A use-case would be to add extra metadata in a comment such as ...
6
votes
1answer
3k views

How do I find out the applescript commands available for a particular app?

I'm trying to find out if I can get iTunes to do something complex, but don't know what can be scripted. Is there a way to find out what applescript commands an app will respond to?
3
votes
1answer
441 views

How to Unset iTunes Track Start And Stop Time For Multiple Tracks?

For some reason a lot of tracks in my iTunes library have senseless start and stop times set. This is really annoying as some tracks get skipped after a few seconds. There are Apple Script commands ...
1
vote
2answers
613 views

How do I set podcast release date in iTunes using Applescript?

I would like to add the release date to podcasts that I've imported into iTunes, but my applescript is returning an error about the date object. tell application "iTunes" set theSelection to ...
1
vote
1answer
538 views

How to script “add to iTunes Library”

I'm trying to deliver as a download a collection of audio files such that the user (preferably Win and Mac) would be able to double click on the file (perhaps a DMG? / ZIP) and launch a script that ...
2
votes
2answers
657 views

AppleScript to add files to an iOS app under iTunes

I know it's possible to write an AppleScript to add music and video files to the iTunes library. Is it also possible to write AppleScript to add files to iOS apps that use file sharing? For example, ...
1
vote
1answer
197 views

How can I regularly move movies in iTunes to an external drive?

I have been adding a lot of movies to iTunes lately. Problem is, the size grows very quickly. I appreciate having the metadata in one place, but I would want to move the actual files to an external ...
2
votes
1answer
421 views

Can you (semi-)automatically rate all songs with at least X plays with Y stars in iTunes?

After reconsolidating my music collection in iTunes, I’m curious if there is any way to programmatically set star ratings based upon the number of plays, but only for songs that I have not yet rated? ...
1
vote
1answer
411 views

Why doesn't Automator service appear in iTunes?

I'm trying to write an Automator service for iTunes so that I can immediately open a file from iTunes in VLC, so I don't have to do (show in finder, launch with other application, vlc). I go to ...
1
vote
4answers
1k views

AppleScript to mark video file as TV show?

I'm using Hazel to automate the conversion of video files to iTunes .mv4 format, however one limitation I've run into is being able to mark a video file as "TV show" or "Movie" before adding to ...
4
votes
2answers
400 views

Is there an AppleScript or Automator action to quickly edit Info for Video in iTunes?

I ripped the DVD set of a television series to my iMac. But now, the filenames are weird and there is no meta info. In Automator, I see there is an action to edit Info for a song. That's great, but ...
4
votes
1answer
922 views

Can I write an Automator/AppleScript script to download all the iTunes app updates?

This is related to How can I tell iTunes to always download free updates I would like to write a script to tell iTunes to download all the free app updates available, and have that script run ...
1
vote
2answers
285 views

Compare my iTunes library with the iTunes Store's

Is there a way to compare my iTunes library with the iTunes Store's library, so I can find what songs I'm missing by a particular artist? Ideally, I would be able to compare the Store and my Library ...
1
vote
2answers
2k views

How do I do custom key binding in iTunes?

How would I assign ⌘1 to Music (Library item) ⌘2 to Movies ⌘3 to Podcasts Surprisingly enough, these key bindings are not assigned to anything yet, and IMO they would be most convenient ones ...