AS_Dialog ( Text ; Button1 ; Button2 ; Button3 ; window_title ; giving_up_after ; default_answer ; hidden_answer ; default_button ; cancel_button ; caution ; result_field )
Generates an dialog box with a number of options
Average rating: 4.0 (43 votes) Log in to vote
Thomas Siebert - Show more from this author
http://www.t-seabird.de |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Text = The dialog text
Button1 Button2 Button3 = Button-names. up to 3 Buttons possible. Leave those parameters empty to get standard buttons (OK and Cancel)
window_title = name of the window title bar
giving_up_after = timeout in seconds (empty or 0 means: no timeout) to wait before automatically dismissing the dialog
default_answer = generates an field entry with an default text if you want to. Empty parameter means: no entry field.
hidden_answer = enter 1 for bullets (••••••)
default_button = enter a number for the default button (empty or 0 means: no default button)
cancel_button = the number of the cancel button
caution = enter 1, 2 or 3 to get icon (stop/note/caution)
FMP_Result_Field = A FileMaker-Field to return a result
Use the ScriptStep "Perform AppleScript" using the option "Calculated AppleScript"
You also shall use "Perform AppleScript" directly from a button.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.