Actually that's where I started, and when that didn't work, I defaulted to last playlist, since that what it happens to be.
I've now determined that no line of any script executes from Indigo. I was probably looking at another playlist when I posted before that some lines were executing.
I've also determined that the way we run Indigo is what's causing the problem.
We don't run as Admin, so Indigo runs in a Standard User account.
Without doing anything, we can use our remote and two Powerhouse transceivers RR501 to control our devices.
Our iMac G5 usually runs 24/7, but when I start from scratch this is what I do:
Login to Standard User account indigo. Launch Indigo 3.app, and connect to the interface.
Quick Switch to our Standard User account.
I can now launch Safari and control our devices from our Control Page.
Or I can launch Indigo 3.app and connect to the Remote Server to control our devices. This is where I have been testing the Applescripts.
There are no documents saved in indigo, except for Indigo's stuff. So I imported some songs into iTunes there, so I could test the scripts in the indigo account. This script, embedded in a Trigger Action, works perfectly when executed from our remote:
- Code: Select all
tell application "iTunes"
set shuffle of last playlist to true
set song repeat of last playlist to all
play last playlist
end tell
Our MacBook Pro is set up similarly with the addition of a Guest account. We can control our devices from Safari or from Indigo 3.app by connecting to the Remote Server.
I hope there is a solution to allowing the scripts to run under this setup.
Carroll