Syntax: ScriptNames ( fileName )
fileNameA string or text expression that represents the name of an open file.
Data type returned: Text
Returns a carriage returndelimited list of script names from the specified file.
As with the ScriptIDs() function, the order of the list returned by ScriptNames() is the current order of the scripts within ScriptMaker.
Any scripts that are set to "no access" for the current users privilege set are not included in the list.
ScriptNames (Get (FileName))
Returns a list of script names for the current file that might look like this:
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information