bBox_DoScript (filename; scriptname ( {parameter} )

parameters

 filename: FileMaker file containing the script, typically @Get (FileName)@

 scriptname: name of script to run

 parameter: text to pass to script (optional)


result

 none

––––––––––

Run the given FileMaker script by name.

This function is not server-side compatible. The named script will run asynchronously from the calling script, so it is not possible to get its result with Get (ScriptResult). If the file has more than one script with the same name it is undefined which script will be used. If the filename is different from the current file, the file must already be open.

If a script with that name can not be found a “?” is returned for the function result.

––––––––––

bBox Functions

bBox Wiki