Okay.

I found the Search in iTunes trigger and enabled it, searched for a
track and ran Rob's script, and it worked for me. Rob's script works
for me when I select the file and when I use the iTunes plugin to find
the track (e.g., by using the search in iTunes trigger or by right-
arrowing into iTunes.app). Does it work for you when you when you find
a track by right-arrowing in to iTunes?

I'm running B58 on Snow Leopard. Who knows what version of the iTunes
plugin I'm running (or if there are multiple versions): I've
completely lost track of versioning for plugins. But if there is a
newer version, I'm probably running it.

Just to make sure we are all on the same page, the script that works
for me is the following three lines:

on open of theFile
   tell application "iTunes" to play theFile with once
end open

The error you report makes it sound like you don't have the "on open"
bit...

-David

On Jan 7, 8:31 pm, sudo <[email protected]> wrote:
> You can activate the trigger in
> Preferences>Triggers>iTunes>Search in iTunes
>
> Rob's script works when you select a track in the Finder.
> Selecting a song with the trigger above in the first pane gives in
> console
> Quicksilver[92784:10b] AppleScript Action: No handler? Aborting...
>
> It'd be great to make it work with the trigger as the search is way
> snappier.
>
> On Jan 8, 1:01 am, dsanson <[email protected]> wrote:
>
>
>
> > I don't have a "Search in iTunes" trigger. But Rob's script works for
> > me in the second pane.
>
> > -David

Reply via email to