file.copyToSystemFolder
| Syntax |
file.copyToSystemFolder (path)
|
| Params |
path is a legal path name to the file or folder you wish to copy to the System Folder.
|
| Action |
Copies the file to the appropriate place in the System Folder. The "appropriate place" depends on the type of file involved. For example, System Extensions (INITs) belong in the Extensions sub-folder and Contol Panels (cDEVs) belong in the Control Panels folder. This verb emulates the behavior of the Finder when the user simply drags a file onto the System Folder icon, and automatically places the file in the appropriate place, by-passing the usual confirmation dialog provided by the Finder.
|
| Returns |
True if the copy process is successful, false if it is not.
|
| Examples |
file.copyToSystemFolder ("System:New DAs:Whiz-Bang DA") » true
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
If the file is of a type for which the System Folder under Macintosh System 7.0 does not define a specific location, this process is identical to file.copy except that the destination folder is chosen for you. This verb is implemented as a script, so you can examine its logic easily by typing its name in the Quick Script window and Command-double clicking on it.
|