In Indigo 1.8.2 (a long long time ago ...) I was able the retrieve Indigo’s events and setup a wake up schedule in the Power Manager application. Now my old script does not work. I changer Indigo for IndigoServer, but still can get the event list. Can you help me with what is not working ? Here is my previous script:
- Code: Select all
tell application "IndigoServer"
repeat with i in time date actions
if i is enabled then
if name of i does not contain "internal" then
-- ... copy the name and the scheduled time of the event, ...
--- ... copier le nom et le moment de déclanchement de l'événement, ...
set EventName to name of i
set NextTrigger to (next trigger time) of i
--- ... in Power Manager, delete all event that already exist with the same name ...
--- ... détruire tout événement déjà existant dans Power Manager portant le même nom ...
LogToIndigo(EventName, "& ", NextTrigger)
end if
end if
end repeat
end tell
-- Routine to log text in Indigo
-- Permet d'inscrire un texte dans le log d'Indigo
on LogToIndigo(theTextToLog)
tell application "IndigoServer"
log theTextToLog
end tell
end LogToIndigo