Script Steps Reference
Table Of Contents
- Chapter 1 Introduction
- Chapter 2 Control script steps
- Chapter 3 Navigation script steps
- Chapter 4 Editing script steps
- Chapter 5 Fields script steps
- Set Field
- Set Next Serial Value
- Insert Text
- Insert Calculated Result
- Insert From Index
- Insert From Last Visited
- Insert Current Date
- Insert Current Time
- Insert Current User Name
- Insert Picture
- Insert QuickTime
- Insert Object (Windows)
- Insert File
- Update Link (Windows)
- Replace Field Contents
- Relookup Field Contents
- Export Field Contents
- Chapter 6 Records script steps
- Chapter 7 Found Sets script steps
- Chapter 8 Windows script steps
- Chapter 9 Files script steps
- Chapter 10 Accounts script steps
- Chapter 11 Spelling script steps
- Chapter 12 Open Menu Item script steps
- Chapter 13 Miscellaneous script steps
- Appendix A Glossary
Chapter 13
|
Miscellaneous script steps 127
Examples
The following script repeatedly dials the phone number in the PhoneNumber field, up to
ten times.
Set Field [Contacts::gCount; 0]
Loop
Dial Phone [No dialog; Contacts::PhoneNumber]
Set Field [Contacts::gCount; Contacts::gCount + 1]
Exit Loop If [Contacts::gCount > 10]
End Loop
This script dials local directory assistance.
Dial Phone [No dialog; 411]
Install Menu Set
Format
Install Menu Set [specified menu set name]
Options
Use As File Default overrides the file’s default menu set specified in the Manage Custom
Menus dialog box with the menu set specified in this script step. Once you close the file,
the default menu set reverts to the one specified in the Manage Custom Menus dialog
box. Select the menu set that you want the script step to install from the list.
Web compatibility
This script step is not web-compatible.
Description
Changes the menu set based on conditions established in the script.
Example
The following example changes the installed menu set on the menu bar to Custom Menu
Set #1.
Install Menu Set [“Custom Menu Set #1”]