Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Component: Shell
Functions to run command line tools.
Run tools in background, send input text and receive output.
| Item | Details |
|---|---|
| Shell.AddArgument Adds an argument. | Mac/Win/Linux 7.5 |
| Shell.AddEnvironment Adds an entry for environment variables. | Mac/Win/Linux 7.5 |
| Shell.AvailableBytesError Queries number of available bytes in error. | Mac/Win/Linux 7.5 |
| Shell.AvailableBytesOutput Queries number of available bytes in output. | Mac/Win/Linux 7.5 |
| Shell.ClearArguments Clears arguments list. | Mac/Win/Linux 7.5 |
| Shell.ClearEnvironment Clears list of environment variables. | Mac/Win/Linux 7.5 |
| Shell.CloseInput Closes input stream. | Mac/Win/Linux 8.3 |
| Shell.CloseStreams Closes all streams. | Mac/Win/Linux 8.3 |
| Shell.Execute Executes a child process. | Mac/Win/Linux 7.5 |
| Shell.ExitCode Queries exit code of child application. | Mac/Win/Linux 7.5 |
| Shell.GetApplicationName Queries application name. | Mac/Win/Linux 7.5 |
| Shell.GetArgument Queries argument. | Mac/Win/Linux 7.5 |
| Shell.GetArgumentCount Queries number of arguments. | Mac/Win/Linux 7.5 |
| Shell.GetArguments Queries arguments as list. | Mac/Win/Linux 9.3 |
| Shell.GetBufferSize Queries desired shell buffer size. | Mac/Win/Linux 10.3 |
| Shell.GetCompletedEvaluate Queries expression to be run when shell is done. | Mac/Win/Linux 7.5 |
| Shell.GetCompletedScriptFileName Queries filename of script to call in when shell is done. | Mac/Win/Linux 7.5 |
| Shell.GetCompletedScriptName Queries name of script to call when shell is done. | Mac/Win/Linux 7.5 |
| Shell.GetCurrentDirectory Queries current directory path. | Mac/Win/Linux 7.5 |
| Shell.GetDataAvailableEvaluate Queries expression to be run when data is available. | Mac/Win/Linux 10.0 |
| Shell.GetDataAvailableScriptFileName Queries filename of script to call in when shell has data available. | Mac/Win/Linux 10.0 |
| Shell.GetDataAvailableScriptName Queries script name to call in when shell has data available. | Mac/Win/Linux 10.0 |
| Shell.GetDomain Queries domain name for login. | Mac/Win/Linux 7.5 |
| Shell.GetEnvironment Queries list with environment variables. | Mac/Win/Linux 7.5 |
| Shell.GetPassword Queries password for login. | Mac/Win/Linux 7.5 |
| Shell.GetUsername Queries user name. | Mac/Win/Linux 7.5 |
| Shell.IsRunning Queries whether application is running. | Mac/Win/Linux 7.5 |
| Shell.New Creates a new shell object. | Mac/Win/Linux 7.5 |
| Shell.PeekErrorText Peeks into error output buffer. | Mac/Win/Linux 7.5 |
| Shell.PeekOutputText Peeks into output buffer. | Mac/Win/Linux 7.5 |
| Shell.ProcessIdentifier Queries process identifier of child process. | Mac/Win/Linux 7.5 |
| Shell.ReadErrorText Reads error. | Mac/Win/Linux 7.5 |
| Shell.ReadOutputText Reads output. | Mac/Win/Linux 7.5 |
| Shell.Release Frees the shell object. | Mac/Win/Linux 7.5 |
| Shell.ReleaseAll Frees all Shell objects. | Mac/Win/Linux 10.5 |
| Shell.SetApplicationName Sets the application name. | Mac/Win/Linux 7.5 |
| Shell.SetArguments Sets list of arguments to parameters of this functions. | Mac/Win/Linux 7.5 |
| Shell.SetArgumentsList Sets list of arguments. | Mac/Win/Linux 7.5 |
| Shell.SetBufferSize Sets desired shell buffer size. | Mac/Win/Linux 10.3 |
| Shell.SetCompletedEvaluate Sets expression to be run when shell is done. | Mac/Win/Linux 7.5 |
| Shell.SetCompletedScript Sets which script to call when shell is done. | Mac/Win/Linux 7.5 |
| Shell.SetCurrentDirectory Sets the current directory to use. | Mac/Win/Linux 7.5 |
| Shell.SetDataAvailableEvaluate Sets expression to be run when shell has data available. | Mac/Win/Linux 10.0 |
| Shell.SetDataAvailableScript Not yet documented | Mac/Win/Linux 10.0 |
| Shell.SetDomain Sets the domain to use for login. | Mac/Win/Linux 7.5 |
| Shell.SetPassword Sets the password for login. | Mac/Win/Linux 7.5 |
| Shell.SetUsername Sets the user name. | Mac/Win/Linux 7.5 |
| Shell.Terminate Terminates the child process. | Mac/Win/Linux 7.5 |
| Shell.TerminationReason Returns the reason the task was terminated. | Mac only 7.5 |
| Shell.Wait Waits for child process. | Mac/Win/Linux 7.5 |
| Shell.WriteInputText Writes a text to input stream. | Mac/Win/Linux 7.5 |
51 functions.
Release notes
- Version 10.5
- Added CFunction.ReleaseAll, CGImageSource.ReleaseAll, CLibrary.ReleaseAll, DynaPDF.ReleaseAll, ECKey.ReleaseAll, FSEvents.ReleaseAll, MarkDown.ReleaseAll, MenuItem.ReleaseAll, SendMail.ReleaseAll, Shell.ReleaseAll, SmartCard.ReleaseAll, TouchBar.ReleaseAll, UserNotification.ReleaseAll, WMFP.ReleaseAll, WMIQuery.ReleaseAll and WindowsUserNotification.ReleaseAll.
- Version 10.3
- Added Shell.GetBufferSize and Shell.SetBufferSize functions.
- Deprecated RunTask functions in favor of Shell functions.
- Version 10.1
- Fixed bug in Shell.PeekErrorText function for MacOS.
- Version 10.0
- Added Shell.SetDataAvailableEvaluate, Shell.GetDataAvailableEvaluate, Shell.SetDataAvailableScript, Shell.GetDataAvailableScriptName and Shell.GetDataAvailableScriptFileName functions.
- Renamed Shell.SetEvaluate to Shell.SetCompletedEvaluate and Shell.GetEvaluate to Shell.GetCompletedEvaluate.
- Renamed Shell.SetScript to Shell.SetCompletedScript, Shell.GetScriptName to Shell.SetCompletedScriptName and Shell.GetScriptFileName to Shell.SetCompletedScriptFileName.
- Version 9.3
- Added Shell.GetArguments function.
- Version 8.3
- Added Shell.CloseInput and Shell.CloseStreams functions.
- Version 8.2
- Fixed bug in Shell.IsRunning on Linux.
- Improved argument passing for Shell.Execute.
- Version 7.5
- Added Shell functions.
Blog Entries
- MBS FileMaker Plugin 10.3 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin, version 10.3pr4
- Simulating a terminal in FileMaker
- Custom context menu commands for FileMaker ScriptWorkspace
- Run fmsadmin from script
- Neues MBS FileMaker Plugin 8.3
- MBS FileMaker Plugin 8.3 released
- Convert office documents to PDF with LibreOffice
- Tips for FileMaker Data Migration Tool
- Execute defaults command with Shell functions
Example Databases
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins