| Prev | Next | Sys Verbs > sys.setMinAppSize |
sys.setMinAppSize
| Syntax |
sys.setMinAppSize (path, bytes)
|
| Params |
path is the file system path to an application. bytes is the number of bytes to be set as the minimum application memory size.
|
| Action |
Sets the minimum suggested memory size for the application at path to bytes.
|
| Returns |
True.
|
| Examples |
sys.setMinAppSize ("System:Utilities:TeachText", 100 * 1024) » true
|
| Errors |
If the application at path is currently running, an error will result because the resource change will fail.
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
This is an advanced Frontier verb of primary interest to implementers and advanced scripters. It is not necessary to understand it to use Frontier effectively for most tasks. The minimum suggested memory size is not visible in the Finder's Get Info window. Since sys.setAppSize is not constrained to the minimum suggested size, the only reason to use this verb is to avoid the confirmation dialog when changing the current memory size in the Finder. This verb is implemented as a script that manipulates the application's 'SIZE' resource.
|
| See Also |
sys.getMinAppSize
|
| Prev | Next | Sys Verbs > sys.setMinAppSize |