AppleScript_Choose_from_List ( myList ; window_title ; message ; allow_multiple ; allow_empty ; default_items ; OK_button_name ; result_field )
Rate this function: Average rating: 3.3 (12 votes) Discuss this Custom Function
Thomas Siebert, Seabird
http://www.t-seabird.de
creates a dialog with a chooser list to choose one or multiple items
Sample Input:
Perform AppleScript [
AppleScript_Choose_from_List ( "Germany¶USA¶India¶France¶Spain¶Japan¶China" ; "The List" ; "Please select your favorites" ; 1 ; 0 ; "" ; OK_button_name ; "" ) ] |
|
Sample Output:
|
Description:
creates a dialog with a chooser list
myList = a list you want to choose from: "Germany¶USA¶India¶France¶Spain¶Japan¶China".
window_title = Name of the message window
message = a message to the user.
allow_multiple = 1 to activate choosing of multiple items of the list via the command key.
allow_empty = allowing to choose not a single item from the list.
default_items = pre-choose the default item(s)
OK_button_name = giving the OK-button another name
result_field = the FileMaker field to return the result ( table::field ) using the current record.
Use the ScriptStep "Perform AppleScript" using the option "Calculated AppleScript"
You also shall use "Perform AppleScript" directly from a button.
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. |
CountWordOccurrences ( text ; searchWord ) |
| |
(Tue, Feb 07, 11:15am) |
| 2. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 3. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 4. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 5. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 6. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 7. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 8. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
 |
|