Run external program when long operations complete
Posted: 06.11.2017, 23:55
Hi,
If it takes longer than, say, five seconds, for a copy/move/delete operation to complete, when it is done I'd like to be able to execute an external program or .bat file that could let me send a notification or maybe turn on a blink1 USB light or have it announce it via text-to-speech... any of numerous ways I might want get notified.
Ideally I'd like FreeCommander to pass something to the external program:
- copy example: "3,139 files were copied to C:\Temp", either this phrase or three arguments: file count, file action, destination -- 3139 copied c:\temp
- move: same as above but have it pass "moved" for the file action
- delete: not quite as easy since there might be multiple folders, so maybe have it pass either the first file name or last file name or parent folder of the first/last file
Thanks for listening!
Todd
If it takes longer than, say, five seconds, for a copy/move/delete operation to complete, when it is done I'd like to be able to execute an external program or .bat file that could let me send a notification or maybe turn on a blink1 USB light or have it announce it via text-to-speech... any of numerous ways I might want get notified.
Ideally I'd like FreeCommander to pass something to the external program:
- copy example: "3,139 files were copied to C:\Temp", either this phrase or three arguments: file count, file action, destination -- 3139 copied c:\temp
- move: same as above but have it pass "moved" for the file action
- delete: not quite as easy since there might be multiple folders, so maybe have it pass either the first file name or last file name or parent folder of the first/last file
Thanks for listening!
Todd