Using the Windows Clipboard


OneCommander uses Windows Clipboard the same way as other Windows programs with a few additional features



Copy path of selected file to Clipboard

Ctrl+Shift+C


Copy path of enclosed folder to Clipboard

Ctrl+Shift+Alt+C


  • Clipboard contains a new path:
  • Press Ctrl+Shift+Alt+T to open this path in a new Tab in the current Browser.

  • Clipboard contains text or a bitmap image:
  • Press Ctrl+V to create a new .txt or .png file containing the text or bitmap, in the Current Folder. 
  • The file name shows the date and time of the file creation (e.g. "2024-04-01 10-56-00.txt")


  • Clipboard contains link to an online file or website:
  • Press Ctrl+V to have the option to create link as text file, an URL file (double-click to open web browser), or download as an actual file (makes sense only for actual files, not websites).
  • This works ONLY for public content, and cannot work for links to Gmail attachments (OC doesn't have access to web authenticated sessions)



  • The Clipboard contains link to video (***Tube):
  • Press Ctrl+V to download the video into current folder (yt-dlp party utility has to be installed)


Pro users can customize scripts for downloading video and audio files from Settings>Advanced





The rest are the same:


Copy file to clipboard 

Ctrl+C (as in Windows Explorer)


Cut file to clipboard 

Ctrl+X (as in Windows Explorer)


Paste file from clipboard 

Ctrl+V (as in Windows Explorer)


These last 3 are using Windows Shell for operations.


Troubleshooting

Copy or paste doesn't work?

Since Clipboard on Windows is shared, some programs don't play nicely and hold the Clipboard hostage so that other programs can't use it.


If you press Ctrl+Shift+C (copy path to clipboard), OC will try to put path on clipboard several times, and if some program has hijacked the Clipboard, OC will show the name of the program in the notification area. Parsec and some screen capture tools are the usual culprits.


Win+V doesn't work in rename dialog

There is no workaround for that because of the way Win+V works, which is improvised by Microsoft (simulating clicking and pressing shortcuts instead of using WIndows Automation or any sophisticated system). Microsoft would have to implement this properly to make it function in OC.