Speak iTunes Information

This is an archive of older posts. You can't add topics - rather, create a new topic in one of the forums above. You can still reply to topics in this forum though we encourage you to start a new topic in the forums above instead.
yergeyj
Posts: 260
Joined: Wed Dec 29, 2004 7:30 am

Speak iTunes Information

Post by yergeyj »

Overview
This script pauses the song currently playing on iTunes on the computer running Indigo, speaks the song, artist and album, and then resumes playing the song at the same point.

Installation
After downloading, drag the Speak iTunes Information script into the folder: /Library/Application Support/Perceptive Automation/Indigo 2/Scripts/

Usage
Execute within Indigo, typically as a Trigger Action attached to a RemoteLinc or IRLinc. The script will only execute if iTunes is currently playing, and will speak the track information on whatever speakers are currently in use with iTunes. To speak with a voice other than the System voice, add the voice name to the associated property at the top of the script; for example, the new Leopard voice Alex works well.
User avatar
jay (support)
Site Admin
Posts: 18416
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Post by jay (support) »

Excellent addition to the library, thanks!

BTW, I changed the group to Application Integration - it seemed a little more appropriate there.

jay
risoam
Posts: 35
Joined: Wed Sep 10, 2008 5:56 pm

Post by risoam »

Has anyone used this? If using airport to stream itunes to my stereo system, will this information be played through the stereo or just local on the computer? Thanks.
yergeyj
Posts: 260
Joined: Wed Dec 29, 2004 7:30 am

Post by yergeyj »

Hi Jay,

It should play through on whatever system(s) the music is playing, which in your case would be the stereo.

That was the whole point of the script, as "saying" anything on the Mac typically will only play though the local computer speakers.

Jim
dfiedler
Posts: 63
Joined: Sun Mar 19, 2006 10:04 pm

Error message

Post by dfiedler »

I tried to use this script and get an error

Can't make name of <class> of application "iTunes" into type Unicode text.


Can anyone help me here?
yergeyj
Posts: 260
Joined: Wed Dec 29, 2004 7:30 am

Post by yergeyj »

Sorry, been offline for a while.

I don't get that error, o I'm not sure why it's occurring.

If you open the script and run it standalone, using the Script Editor Event Log, do you get the same error? Note that when you do this, the "repeat until" loop will log a lot of repetitions while the track information is being read.

Jim
User avatar
Brandt
Posts: 414
Joined: Wed Dec 24, 2008 1:00 am
Location: Mission Viejo, CA

Post by Brandt »

I must not be seeing it, where do we download this script?
User avatar
jay (support)
Site Admin
Posts: 18416
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Post by jay (support) »

Check the download library. Anything on this forum topic is downloadable there.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
rdkay
Posts: 1
Joined: Tue Mar 23, 2010 10:26 am

Re: Speak iTunes Information

Post by rdkay »

:roll:
I tried this script with Snow Leopard 10.6.2 and Indigo 4.1.7.
However iTunes does not resume the currently playing song, it stops with the iTunesIndigoTempFile...
Anyone knows how to fix this?
regards
User avatar
jay (support)
Site Admin
Posts: 18416
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Speak iTunes Information

Post by jay (support) »

It's been several months since the author has logged in to the forums. Hopefully he's set notifications on this thread so he'll get an email every time there's a post. If he's enabled access, you might try contacting him directly - see the "Email" or "PM" buttons below one of his post - if they show up you can use them to contact him.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Post Reply

Return to “Archived Posts”