h6. [[Filer_Action]] h6(. » [[Filer_Action SWI Calls|SWI Calls]] h6((. » FilerAction_SendStartOperation h2. FilerAction_SendStartOperation h5. (SWI &40F82) |_<^{width:4em}. Entry | | |<^. R0 |<^. Task handle to which to send the message | |<^. R1 |<^. Reason code (as described below) | |<^. R2 |<^. Option bits (as described below) | |<^. R3 |<^. Pointer to operation specific data (see use cases below)| |<^. R4 |<^. Length of operation specific data (see use cases below) | |_<^{width:4em}. Exit | | |<^. - |<^. - | h4. Reason Codes |_<^{width:4em}. # |_<^. Action | |<^. 0 |<^. Copy | |<^. 1 |<^. Move (rename) | |<^. 2 |<^. Delete | |<^. 3 |<^. Set access | |<^. 4 |<^. Set type | |<^. 5 |<^. Count | |<^. 6 |<^. Move (copy then delete original) | |<^. 7 |<^. Copy local (within same directory) | |<^. 8 |<^. Stamp files | |<^. 9 |<^. Find File | h4. Option Bits |_<^{width:4em}. Bit |_<^. Meaning when set | |<^. 0 |<^. Verbose | |<^. 1 |<^. Confirm | |<^. 2 |<^. Force | |<^. 3 |<^. Newer (as opposed to just Look) | |<^. 4 |<^. Recurse (only applies to access) | h4. Use Cases |_\2<^. Copy: Reason Code = 0 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Pointer to name of destination directory (null terminated) | |<^. R4 |<^. Length of name of destination directory (including null terminator) | |_\2<^. Move: Reason Code = 1 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Pointer to name of destination directory (null terminated) | |<^. R4 |<^. Length of name of destination directory (including null terminator) | |_\2<^. Delete: Reason Code = 2 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Unused | |<^. R4 |<^. 0 | |_\2<^. Set access: Reason Code = 3 | |_<^{width:4em}. Entry | | |/3<^. R3 |<^. Pointer to word containing required new access:| |<^. Bottom two bytes indicate the values to set | |<^. Top two bytes flag which bits are to be left alone | |<^. R4 |<^. 4 | |_\2<^. Set type: Reason Code = 4 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Pointer to word containing new type in bits 0-11 | |<^. R4 |<^. 4 | |_\2<^. Count: Reason Code = 5 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Unused | |<^. R4 |<^. 0 | |_\2<^. Copy Move: Reason Code = 6 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Pointer to name of destination directory (null terminated) | |<^. R4 |<^. Length of name of destination directory (including null terminator) | |_\2<^. Copy Local: Reason Code = 7 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Pointer to name of destination name (null terminated) | |<^. R4 |<^. Length of name of destination name (including null terminator) | |_\2<^. Stamp: Reason Code = 8 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Unused | |<^. R4 |<^. 0 | |_\2<^. Find: Reason Code = 9 | |_<^{width:4em}. Entry | | |<^. R3 |<^. Pointer to name of object to Find (null terminated) | |<^. R4 |<^. Length of name of object to find (including null terminator) | h4. Use The purpose of this call is to send a message containing information to start operation. h4. Notes This SWI sends any remaining leafnames with [[Message_FilerAddSelection]], then starts the selected operation by constructing and sending [[Message_FilerAction]]. Reason dependent data is always a pointer, even for word sized data. Usually the data is a destination pathname. h4. See also * [[FilerAction_SendSelectedDirectory]] * [[FilerAction_SendSelectedFile]] * [[Message_FilerAddSelection]]