sys.setAppSize
| Syntax |
sys.setAppSize (path, bytes)
|
| Params |
path is the file system path to an application. bytes is the number of bytes to be set as the application memory size.
|
| Action |
Sets the current memory size for the application at path to bytes.
|
| Returns |
True.
|
| Examples |
sys.setAppSize ("System:Frontier 1.0:UserLand Frontier", 1000000)) » true
sys.setAppSize ("System:System Folder:Finder", 500 * 1024)
|
| 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 verb has the same effect as changing the current memory size in the Finder's Get Info window. This verb is implemented as a script that manipulates the application's 'SIZE' resource.
|
| See Also |
sys.getAppSize
|