I don't know any thing about Rdio or it's AppleScript dictionary, but assuming the script is running on the same Mac as the Indigo server software and that you can assign the information you're gathering from Rdio to an AppleScript variable, you can assign the value of that AppleScript variable to an Indigo variables which can, in turn, be displayed on control pages. First, create a variable in Indigo, perhaps naming it "RdioStatus". Then modify your AppleScript to take the data from Rdio and assign it to an AppleScript variable. This is usually done with something like
- Code: Select all
set myAppleScriptVariable to <something obtained from an application>
(where <something obtained from an application> is, well, something you obtained from an application, like the current channel or station name). Then add
- Code: Select all
tell application "IndigoServer"
set value of variable "RdioStatus" to myAppleScriptVariable as text
end tell
to your AppleScript to assign that value to the Indigo variable.