Monday, December 11, 2017

#1 2002-03-06 01:08:50 pm

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

scripting iTunes

I'd like to create a script that will allow me to enter an Mp3's tag info on iTunes. However, I'm getting the feeling that this is not possible, as iTunes won't even respond to "record." Anyone have experience with this, or is it beyond iTunes' capabilities?


One mans trash is another mans treasure

Offline

 

#2 2002-03-06 07:29:08 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Re: scripting iTunes

: I'd like to create a script that will allow me to enter an Mp3's tag info on
: iTunes. However, I'm getting the feeling that this is not possible, as
: iTunes won't even respond to "record." Anyone have experience
: with this, or is it beyond iTunes' capabilities?



An application's recordability has nothing to do with how scriptable it is.  iTunes 2 has an extensive AppleScript dictionary and it is quite possible to write a script to do what you want to do.  Very very few applications have good recordability and even then in most cases the kind of scripts you generate by recording won't give you the kind of functionality you want.


One mans trash is another mans treasure

Offline

 

#3 2002-03-06 10:48:42 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Offline

 

#4 2002-03-07 11:08:44 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Re: scripting iTunes

: I'd like to create a script that will allow me to enter an Mp3's tag info on
: iTunes. However, I'm getting the feeling that this is not possible, as
: iTunes won't even respond to "record." Anyone have experience
: with this, or is it beyond iTunes' capabilities?



Applescript:

tell application "iTunes"
set name of track 1 of playlist 1 to "Trepak"
end tell

You can drag iTunes onto the Script Editor, select the track class, and see some of its properties you can change.


One mans trash is another mans treasure


Filed under: iTunes

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)