cf_postANC ( title ; subtitle ; Message ; sound )
Apple Notification Center
Average rating: 4.7 (22 votes) Log in to vote
Benjamin Fehr - Show more from this author
EfficientBizz GmbH http://www.efficientbizz.com |
cf_postANC ( "This is my title" ; "This is a subtitle" ; "this is a my message" ; "Frog" )
This is my Title
This is a subtitle
this is a text
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Use FMP script step "PerformAppleScript" and use CF_send2ANC with Title, Subtitle, Message and Sound.
Script will post title, text and icon of host-program (usually FMP-Logo. Your own logo if performed with RunTime) in Apple's Notification Center.
Parameter "Sound" in quotes.
(Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Magic Bell, Morse, Ping, Pop, Purr, Sosumi, Submarine, Tink)
Main Credits go to: Douglas Alder - Homebase Software Publishing Ltd. for the optimised AppleScript with Sound and Subtitles
Comments
Sonia, India Dec 15, 2016 |
||
Hi, I think it will be great to use your this custom function. Kindly clear: Will this customized function will send Push Notification to iOS App and the app will be downloaded from iTune Store? |
||
EfficientBizz, Zurich Dec 15, 2016 |
||
Hi Sonia This is AppleScript which won't work on iOS at all. I'ld recommend to follow this thread on the FM Developer Forum. You might find some work arounds maybe with a 3.party iApp: Adress Apple Notification Center (ANC): iOS notification https://community.filemaker.com/thread/78610 Benjamin |
||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.