FMGrowl(title, description, sticky, message)
Rate this function: Average rating: 3.7 (9 votes) Discuss this Custom Function
Douglas Alder, HomeBase Software Publishing Ltd.
http://hbase.net
Add Growl notification to your FileMaker solutions.
Sample Input:
| FMGrowl(title, description, sticky, message) |
|
Sample Output:
|
Description:
This custom function allows you to integrate the Growl notification system for Mac OS X with FileMaker. It is formatted as an AppleScript and activated through the Perform AppleScript script step.
Based on ideas and code from Michael Gaslowitz (http://www.gaslowitz.net/filemaker/blog/2008/07/video-growl-integration/)
Many thanks to Michael and his great blog. He did all the hard work on this, I am just simplifying it for my own use and trying to share it as he has done with his work .
His ideas are great, but did more than what I needed. My goal was a simple function that I could feed messages into. His system has two other custom functions to feed in the version of FileMaker being used (Pro or Advanced) and adds in the ability to do custom icons loaded from FileMaker into a Temp directory. He also has a script parameter feeding system to allow you to enter all the needed parameters when assigning a script to a button. This also used more custom functions. I cut out all that good stuff just to get it working simply. It is definitely worth a look at his sample file to see how this could be expanded, and because he has a script that checks for the presence of Growl.
Parameters: Are all text fields
message - the name of the floating dialog box.
title - the title of the box.
description - the text in the main message of the box.
sticky - text field that takes the values: {yes, no}. This determines if the Growl message hangs around on the screen or not.
Applescript steps involved:
--Register the script with Growl. I am using the default FileMaker Application icon. There is a Case switch in there to deal with FileMaker Pro or Advanced, as Applescript is specific about the program name.
--send a notification to Growl
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
GroupRelationInfo ( FileTarget ; TableTarget ; Result ) |
| |
(Tue, Mar 16, 5:57am) |
| 2. |
GeoBox(latitude;longitude; radius) |
| |
(Mon, Mar 15, 11:04am) |
| 3. |
MonthNameList ( start; number; short ) |
| |
(Sun, Mar 14, 11:45pm) |
| 4. |
matchListAB( ListA ; ListB; match_Value; match_operator ; getN ) |
| |
(Sun, Mar 14, 10:29pm) |
| 5. |
Bin2Hex ( binary ) |
| |
(Sat, Mar 13, 10:08pm) |
| 6. |
SlideView (text) |
| |
(Sat, Mar 13, 8:40pm) |
| 7. |
HashFNV1a64 ( text ; empty ) |
| |
(Sat, Mar 13, 6:23pm) |
| 8. |
HashFNV1a32 ( text ; empty ) |
| |
(Sat, Mar 13, 5:55pm) |
 |
|