On Jan 7, 2011, at 11:22 AM, sudo wrote: > I didn't mention that I need > 'Play Once' action to be performed in the second pane > after activating the trigger 'Search in iTunes' and searching for a > song in the first pane. > > How can the script be rewritten to be usable for this task?
Not sure. I don't do much AppleScript, but maybe something like this. (Haven't tested it.) on open of theFile tell application "iTunes" to play theFile with once end open If that doesn't work, you'll need to figure out how to tell iTunes to use a file instead of a selection from its own window. -- Rob McBroom <http://www.skurfer.com/>
