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 139
Examples
To launch the Notepad application, select the open document/application message, click
File, and specify notepad.exe. The following script step appears in the Script Definition
dialog box:
Send Event ["aevt"; "odoc"; "NOTEPAD.EXE"]
To open a document created by another application, select the open document/
application message, click File, and specify the file (for example image.bmp). The
following script step appears in the Script Definition dialog box:
Send Event ["aevt"; "odoc"; "image.bmp"]
Comment
Format
#<comment text>
Options
Click Specify to display a dialog box to enter the comment text.
Web compatibility
This script step is web-compatible.
Description
Adds comments to the list of steps in the script. Use the comments to document your
script. Comments appear in bold and are prefaced with a #. Comments are present only
when you are viewing the script and do not appear when the script is performed.
Note Comments print in italics.
Example
Set Error Capture [On]
Perform Find [Restore]
If [Get (LastError) = 401]
#If the current error is 401, nothing was found
Show Custom Dialog ["No records were found."]
If [Get (LastMessageChoice) = 1]
Modify Last Find
Else
Enter Browse Mode []
End If
End If