I've tested a bit with the latest beta.
On the iRed site are hints for changes in the AppleScript portion of iRed2.
My old iRed attachment script looks like this:
- Code: Select all
using terms from application "IndigoServer"
on iRedCommand(command, remote)
tell application "iRed"
send ir Code command of RC remote
end tell
end iRedCommand
end using terms from
The new script uses the
perform path syntax which needs the make of the remote as part of the path. Luckily for me, all remotes have the same make, so I entered a constant value in my script.
If that doesn't apply for you, you'll have to add a third parameter to the script and included it's value in the path.
And you'll have to change all your AppleScript code in Indigo that uses the iRedCommand function.
- Code: Select all
using terms from application "IndigoServer"
on iRedCommand(command, remote)
tell application "iRed2"
perform path "IR Code/<constant>/" & remote & "/" & command
end tell
end iRedCommand
end using terms from