FileManagerCopy
The FileManagerCopy event fires whenever a file is moved or copied using the MoveFile or CopyFile methods of the FileManager object.
EventNames:
FileManagerCopy_Pre
Parameters
Type |
Name |
Description |
|---|---|---|
String |
sourceFullFileName |
The full file name of the file to copy/move. |
String |
destinationFullFileName |
The full file name of the destination to copy/move to. |
bool |
isCopy |
Indicates whether this is a ‘copy’ (True) or a ‘move’ (False). |
Examples:
FileManagerCopy_Pre:
Register-InventorEvent -EventName FileManagerCopy_Pre -Action 'PreFileManagerCopy'
function PreFileManagerCopy($sourceFullFileName, $destinationFullFileName, $isCopy) {
#Write event code here
}