Scripts Flashcards

1
Q

Perform Script [“script name”; Parameter: parameter]

A

Control Script Steps

Performs a script that is defined in the current file or in another FileMaker Pro file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Perform Script On Server [Wait for completion; “script name”; Parameter: parameter]

A

Control Script Steps

Performs a script on the server that is hosting the current file.

*Perform Script on Server is not aware of the client’s current layout or record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Pause/Resume Script [Indefinitely/Duration (seconds) n]

A

Control Script Steps

Pauses a script indefinitely or for a specified length of time so the user can perform other tasks in the current window.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Exit Script [Result: value or formula]

A

Control Script Steps

Forces the running script, sub-script, or external script to stop immediately. If used in a sub-script, returns to the main script with or without an optional script result.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Halt Script

A

Control Script Steps

Forces all running scripts, sub-scripts, or external scripts to stop immediately

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

If [Boolean calculation]

A

Evaluates a Boolean calculation and performs a conditional action based on that evaluation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Else If [Boolean calculation]

A

Evaluates a Boolean calculation and performs a conditional action based on that evaluation, like the If script step.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Else

A

Performs an alternate set of script steps when an If script step or Else If script step evaluates to false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

End If

A

Marks the end of an If script step structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Loop

A

Repeats a set of script steps to perform a batch processes such as exporting contents from all records in a found set.

Ex. Copies the contents of the Customers::Work Phone to Customer::Day Contact in all records.

Go to Record/Request/Page [First]

Loop

Set Field [Customers::Day Contact; Customers::Work Phone]

Go to Record/Request/Page [Next; Exit after last] End Loop

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Exit Loop If

A

Exit Loop If [Boolean calculation]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

End Loop

A

Marks the end of a Loop script structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Allow User Abort [on or off]

A

Prevents users from stopping a script if set to Off

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Set Error Capture [on or off]

A

Suppresses or enables normal FileMaker Pro alert messages if set to On

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Set Variable [variable name {[repitition number]}; Value: value or formula]

A

Control Script Steps

Sets a local or global variable to a specified value.

$local

$$global

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Set Script Animation [on or off]

A

Control Script Steps

Enables or disables animations while a script is running

*Off by default

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Install OnTimer Script [“script” ; Parameter : script parameter Interval : number]

A

Control Script Steps

Runs a specified script at the specified interval. Installs a timer on the active window. After the specified interval has passed, the next time the application is idle, runs the specified script.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Go to Layout [“layout name or layout number”]

A

Navigation script steps

Switches to a specified layout

Note: The “Go to Layout” script step can only take you to layouts defined in the same file as the script itself. To go to layouts in an external file, define a script in that file using the Go to Layout script step, and call that script from the first file using the “Perform script” script step.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Go to Record/Request/Page [First/Last/Previous/Next/By calculation]

A

Navigation Script Steps

In Browse mode, moves to a record in the found set. In Find mode, displays a find request. In Preview mode, moves to a page in a report.

20
Q

Go to Related Record [From table: “table name”; Using layout “layout name”]

A

Navigation Script Steps

Goes to the current related record(s) in a related table

21
Q

Go to Portal Row [Select; First/Last/Previous/Next/By calculation]

A

Navigates among the rows in the active portal

22
Q

Go to Object [Object Name: “object name”]

A

Navigation Script Steps

Moves to the specified object on the current layout

Note: This script step uses an object name to identify an object, so you must assign a unique object name to each object on a layout that you want to go to.

23
Q

Go to Field [Select/perform; table::field]

A

Navigation Script Steps

Moves to the specified field on the current layout.

24
Q

Go to Next Field

A

Navigation Script Steps

Moves to the next field in the tab order of the current layout

25
Q

Go to Previous Field

A

Navigation Script Steps

Moves to the previous field in the tab order of the current layout.

Note: If a field is formatted as a button, the field object is selected, not the button object.

26
Q

Close Popover

A

Navigation Script Steps

Closes an open popover in the window in which the script step runs

27
Q

Enter Browse Mode [Pause]

A

Navigation Script Steps

Switches to Browse mode, where you can enter or edit data.

28
Q

Enter Find Mode [Restore ; Pause]

A

Switches to Find mode, where you can search for a set of records.

29
Q

Enter Preview Mode [Pause]

A

Navigation Script Steps

Switches to Preview mode, where you can see how records, forms, or reports will look when they’re printed.

30
Q

Undo/Redo [Undo; Redo; Toggle]

A

Editing Script Steps

Reverses, restores, or switches between the most recently performed actions in the file.

31
Q

Cut [Select; table::field]

A

Editing Script Steps

Deletes the contents of the specified field in the current record and saves the contents to the Clipboard

32
Q

Copy [Select; table::field]

A

Editing Script Steps

Copies the contents of the specified field in the current record and saves them to the Clipboard.

33
Q

Paste [Select; No style; table::field]

A

Editing Script Steps

Pastes the contents of the Clipboard into the specified field in the current record.

Note: If you try to paste data that doesn’t match the field type of the target field, FileMaker Pro pastes the data but displays a validation alert when you attempt to exit the field. If the field is not on the current layout, FileMaker Pro returns an error code which can be captured with the Get(LastError) function.

34
Q

Clear [Select ; table::field]

A

Editing Script Steps

Deletes the contents of the specified field in the current record.

35
Q

Set Selection [table::field ; Start Position: n ; End Position: n]

A

Editing Script Steps

Allows the user to specify the starting and ending position of a selection in a field.​

36
Q

Select All

A

Editing Script Steps

Selects the entire contents of the active field

37
Q

Perform Find/Replace [No dialog ; “text to be found” ; “replacement text” ; Find Next/Replace/Replace All]

A

Editing Script Steps

Finds/replaces data according to the options in the “Perform Find/Replace” Options dialog box.

38
Q

Set Field [table::field ; value or formula]

A

Field Script Steps

Replaces the entire contents of the specified field in the current record with the result of a calculation.

39
Q

Set Field By Name [calculated target field ; calculated value]

A

Field Script Steps

Replaces the entire contents of a calculated target field in the current record with the result of the calculated value.

40
Q

Set Next Serial Value [table::field ; value or formula]

A

Field Script Steps

Resets the next serial value in an auto-entry serial number field

41
Q

Insert Text [Select ; table::field ; “text”]

A

Fields Script Steps

Pastes a text value into a field in the current record.

42
Q

Insert Calculated Result [Select ; table::field ; value or formula]

A

Fields Script Steps

Pastes the result of a calculation into the current field in the current record

43
Q

Insert From Device [table::field ; Type: ; Optional Parameters]

A

Fields Script Steps

In FileMaker Go, enters content into a container field from the following sources: music library, photo library, camera, video camera, microphone, signature. Enters content into a container field or text field from a bar code source.

44
Q

Insert From Index [Select ; table::field]

A

Fields script Steps

Pastes a value from the index into a field.

45
Q

Insert From Last Visited [Select ; table::field]

A

Fields Script Steps

Pastes information from a field in the last active record into the specified field in the current record or find request.

46
Q

Insert From URL [Select ; No dialog ; table::field ; Resource URL]

A

Fields Script Steps

Enters the content from a URL into a field​.