# FileOperationCompleteData

If a [script add-in](../../../scripting/script_add-ins)implements the [**OnFileOperationComplete**](../scripting_events/onfileoperationcomplete) event, the method receives a **FileOperationCompleteData** object whenever a supported file operation begins. If you return **True** to indicate that you want to be notified about the operation, you'll receive another call when the operation is complete.

| Property Name | Return Type               | Description                                                                                                                                                                                                                                                                                                                                                  |
| ------------- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| action        | _string_                  | Returns a string that indicates the type of file operation. Currently the only supported value is **"rename"**.                                                                                                                                                                                                                                              |
| cmdline       | _string_                  | Returns a string that provides the entire command line that launched this operation.                                                                                                                                                                                                                                                                         |
| data          | _variant_                 | <p>When the <strong>query</strong> property is <strong>False</strong> this provides further information about the operation that completed.<br>For "rename" this returns a <a href="map"><strong>Map</strong></a> object that provides a map of all items that were renamed and their new names.</p>                                                         |
| dest          | _object:_[**Path**](path) | Returns a [**Path**](path) object representing the destination path of the operation.                                                                                                                                                                                                                                                                        |
| qualifiers    | _string_                  | <p>Returns a string indicating any qualifier keys that were held down by the user when the operation was initiated.<br>The string can contain any or all of the following: <em>shift</em> <em>ctrl</em>, <em>alt</em>, <em>lwin</em>, <em>rwin</em><br>If no qualifiers were down, the string will be: <em>none</em></p>                                     |
| query         | _bool_                    | Returns **True** the first time the [**OnFileOperationComplete**](../scripting_events/onfileoperationcomplete) event is called. You should examine the action and other properties and return **True** if you decide you want notification about this operation. This will be **False** when you are called the second time, when the operation is complete. |
| source        | _object:_[**Path**](path) | Returns a [**Path**](path) object representing the source path of the operation.                                                                                                                                                                                                                                                                             |
| tab           | _object:_[**Tab**](tab)   | Returns a [**Tab**](tab) object representing the source folder tab.                                                                                                                                                                                                                                                                                          |
