I am designing a Copy/Paste Application for Windows os using Python.Now I want to a Register my application with hotkey for "Ctrl+V" So that when any one press "Ctrl+V" Paste is done through my application and not through windows default Copy/Paste application.But I don't know how to get the list of files path which are to be copied and also the path of Target window where paste is to be done.So I want to know what actually happens when someone presses Ctrl+C key in windows explorer
When someone presses the Ctrl+C key in Explorer, Explorer calls OleSetClipboard()
with an IDataObject
containing various formats, which may include CF_FILES
, CFSTR_FILECONTENTS
and CFSTR_SHELLIDLIST
.