- Posted on
Sat Apr 09, 2016 3:23 pm
-
Mactonex
offline
-
- Posts: 10
- Joined: Mar 14, 2016
Hi,
I'm trying to get this to work using the beecon app on iPhone to use ifttt to create a Reminder, synced using iCloud. The beacon is being recognised by beecon (i have set it to trigger an alert as well) but the ifttt bit doesn't seem to be working, it's not sending anything.
This is what I've got in the script running on my mac, compiled as an app.
on idle
tell application "Reminders"
set myList to "Indigo"
if (count of (reminders in list myList whose completed is false)) > 0 then
set todoList to reminders in list myList whose completed is false
repeat with itemNum from 1 to (count of (reminders in list myList whose completed is false))
set reminderObj to item itemNum of todoList
set nameObj to name of reminderObj
set completed of reminderObj to true
tell application "IndigoServer"
set value of variable ibeaconlighton to nameObj as string
end tell
end repeat
end if
end tell
return 1
end idle
Bit stuck, if anyone has any ideas I would be very grateful.
Tony