Reference > Script steps reference > Miscellaneous script steps > Dial Phone
 
Dial Phone
Purpose 
Dials a phone from within a script.
See also 
Format 
Dial Phone [With dialog: On/Off; <phone number>]
Options 
With dialog specifies whether to display the Dial Phone dialog box when the script step is performed.
Phone Number lets you enter a phone number to dial.
Specify lets you create a calculation to generate the phone number.
Compatibility 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
No 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 6.0 or earlier
Description 
You can enter a phone number or specify a calculation to create a phone number. You can specify number, text, calculation, or global fields. Letters within the phone number are translated to numbers (except for q and z). You can also choose whether to use the current phone preferences based on your current location.
Tip  To place an international call in FileMaker Go, filter the phone number for numerical digits and the "+" symbol.
Important  The Dial Phone script step is not supported in OS X, but you can create scripts that include the Dial Phone script step to use in FileMaker Go.
Example 1 
Dials the phone number contained in the script.
Dial Phone [With dialog: On; "5550987654"]
Example 2 
Dials the phone number contained in the Work Phone field in the current record.
Go to Layout ["Customer Details"]
If [not IsEmpty ( Customers::Work Phone )]
Dial Phone [With dialog: Off; Customers::Work Phone]
End If
Example 3 
Filters the contents of the Work Phone field for appropriate characters and dials the filtered number.
Go to Layout ["Customer Details"]
If [not IsEmpty ( Customers::Work Phone )]
Dial Phone [With dialog: Off; Filter ( Customers::Work Phone ; "1234567890+" )]
End If
Related topics 
Filter function
Script steps reference (alphabetical list)
Script steps reference (category list)