add a new iCal event from an FMP record - adding display alarm not working yet
add a new iCal event from an FMP record - adding display alarm not working yet
- Subject: add a new iCal event from an FMP record - adding display alarm not working yet
- From: dealTek <email@hidden>
- Date: Mon, 13 Aug 2012 21:21:53 -0700
Hi all, [xpost from FMP list also]
This is part of a bigger CALCULATED APPLESCRIPT in filemaker pro 11 - where I'm trying top add a new iCal event from an FMP record.. so far the event is created but now I want to also add a display alarm with it - and this is not working…. error says : can't get every display alarm...
ANY IDEAS how to add the display alarm? --- {trigger interval:-15}?
----------------------------
------------ LET STATEMENT HERE SETS FIELDS………………..
"tell application \"iCal\""
& ¶ &
"set my_event to make new event at end of events of calendar " & v.Calendar & " with properties {description:" & v.Description & ", summary:" & v.Summary & ", location:" & v.Location & ", start date:date " & v.From & ", end date:date " & v.To & ", allday event:" & v.AllDay & "}"
& ¶ &
"end tell"
& ¶ &
"tell application \"iCal\""
& ¶ &
"set my_event to make new display alarm at end of display alarms with properties {trigger interval:-15}"
& ¶ &
"end tell"
)
-----------------------------------
--
Thanks,
Dave - DealTek
email@hidden
[db-12]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden