The FileMaker ScriptNames Function

From Dwayne Wright PMP, PMI-ACP, CSM
Certified FileMaker Developer

WEB: www.dwaynewright.com
EMAIL: info@dwaynewright.com
TWITTER: dwaynewright
YOUTUBE: FileMakerThoughts

ScriptNames( fileName)
All Current Versions Of FileMaker
Returns A Text Result

The ScriptNames function gives you the name of each defined script in a particular file. Each script name is listed individually in a text result that is separated by a carriage return between values. This function has 1 defined parameter, which is ... what database do you want to get the list of scripts names for?

Example: ScriptNames ( "Client.FP7") in one of my databases returns...

CREATE_New
FIND_Clients
FIND_Prospects
CONVERT_Prospect_To_Client

FYI... for you FileMaker 9 and higher users ... the names of script groups is NOT returned by this function

Although this function will generally be utilized by those with full developer access, the names of scripts that a privilege set is not allowed to view will not be returned by this function for those users.

More info about the author and FileMaker in general, contact me at info@dwaynewright.com.

© 2010 - Dwayne Wright - dwaynewright.com