Finder.drag
| Syntax |
Finder.drag (sourcePath, destPath)
|
| Params |
sourcePath is the path to the file or folder you wish to copy. destPath is the path to the place where the contents of sourcePath are to be copied.
|
| Action |
Copies the file or folder in sourcePath to folder or volume at destPath. If a file or folder of the same name already exists in destPath, this verb confirms your desire to replace it.
|
| Returns |
True
|
| Examples |
Finder.drag ("System:System Folder:System", "System:ResEdit Folder:") » true Makes a copy of the System file so you can work with it in ResEdit.
Finder.drag ("System:System Folder:Passwords", "MyOTherDisk:System:A Safe Place:") The file called "Passwords" in your System Folder is copied to a safe place on another hard disk for backup.
|
| Platform Notes |
This verb is only implemented in the Mac OS version of Frontier.
|
| Notes |
You can use Finder.drag across volumes. Supported on non-Scriptable Finder. New scripts for Scriptable Finder should probably use other verbs instead, such as Finder.move () and Finder.duplicate ()
|
| See Also |
Finder.move
|