Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

Hi All,

I've been successful in creating an Applescript that creates events in iCal based on my fields in my 'shows 2' table in Filemaker. I was wondering if anybody knows how to add an alarm to the newly created event (ideally to notify the user the day before). 

Many thanks :)

 

Here's the code in my Perform Applescript function (calculated):

 

"tell application "Calendar" ¶
tell calendar "Test Cal" ¶
set eventDate to date " & Quote ( shows 2::typeDate ) & "¶ 
set eventDateEnd to date " & Quote ( shows 2::typeDateEnd ) & "¶
set newEvent to make new event at end with properties {description:" & Quote ( shows 2::icsDescription ) & ", summary:" & Quote ( shows 2::icsSummary ) & ", location:" & Quote ( shows 2::location ) & ", start date:eventDate, end date:eventDateEnd} ¶
end tell ¶
end tell"
 
 
Try adding these lines:
 
set alarmDate to date " & Quote ( shows 2::typeDate - 1 )
tell newEvent
make new display alarm at end with properties {trigger date:alarmDate}
end tell
  • Author
  • Newbies

Marvellous!! For calculating the date, I added an extra column in the table that automatically creates and formats the value. For some reason it has to be in the format:

"DayName, Day Month Year HH:MM:SS".

Top man - thank you!!!!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.