miyako / 4d-plugin-event-kit

4D plugin to access the Reminder and Calendar database on Mac.
0 stars 2 forks source link

EK ITEM Get alarms and EK ITEM Get rules don't return any data #3

Open KirkBrooks opened 5 years ago

KirkBrooks commented 5 years ago

Expanding on the example code I created an event. I changed the title and added a URL, a note, and some alarms. The changes were reflected except for the alarms and rules which succeed but don't return any data.

$event:="DF52AB48-26A6-4BF2-968C-C7465FF59C91"
  //$event:=EK EVENT Create   //also commit

  //$success:=EK ITEM Set title ($event;"new event")  //save and commit
$success:=EK ITEM Get title ($event;$title)
$success:=EK ITEM Get url ($event;$url)

ARRAY TEXT($alarms;0)
$success:=EK ITEM Get alarms ($event;$alarms)

ARRAY TEXT($rules;0)
$success:=EK ITEM Get rules ($event;$rules)

I'm using v17HF3, Mojave (on a late 2017 MBP) and iCal.

screen shot 2019-01-05 at 1 56 24 pm
miyako commented 5 years ago

EK_ITEM_Set_rules and EK_ITEM_Set_alarms is not implemented.

and in any case, newly created events have no rules or alarms.

KirkBrooks commented 5 years ago

Thanks Miyako. So EK plugin won't allow me to create a recurring event, for example? Should I be looking at your 4d-ical plugin for this sort of thing instead?

On Sun, Jan 6, 2019 at 4:29 PM Keisuke Miyako notifications@github.com wrote:

EK_ITEM_Set_rules and EK_ITEM_Set_alarms is not implemented.

and in any case, newly created events have no rules or alarms.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/miyako/4d-plugin-event-kit/issues/3#issuecomment-451790202, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyu33wmQX7CU_MdPc-SoMTXJYEpWlx6ks5vApUBgaJpZM4ZyHQq .

-- Kirk Brooks 650-430-3449 San Francisco, California