Skip to content

Commit 5c8b94c

Browse files
authored
Update README.md
1 parent c7e1ef9 commit 5c8b94c

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

README.md

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## About
1111

12-
A Windows desktop application to paste clipboard contents into files and copy file contents to the clipboard via the context menu
12+
A Windows desktop application to paste clipboard contents directly into files and copy file contents to the clipboard via the context menu or hotkey
1313

1414

1515

@@ -23,7 +23,7 @@ _The full changelog can be found on the [release page](https://github.com/eltos/
2323

2424
### Features
2525

26-
+ Explorer context menu entries "[Paste into file](#paste-clipboard-contents)", "[Replace with clipboard content](#replace-with-clipboard-content)" and "[Copy file contents](#copy-file-contents)"
26+
+ Explorer context menu entries "[Paste into file](#paste-clipboard-contents)", "[Paste into this file (Append/Replace)](#paste-into-existing-files-appendreplace)" and "[Copy file contents](#copy-file-contents)"
2727
+ Hotkey `Win`+`Alt`+`V` to paste and `Win`+`Alt`+`C` to copy file contents
2828
+ [Autosave mode](https://github.com/eltos/PasteIntoFile/discussions/2): rename inside file explorer without dialog
2929
+ [Batch mode](https://github.com/eltos/PasteIntoFile/discussions/4): monitor clipboard and save on change
@@ -69,7 +69,7 @@ In addition to the instructions given below, help is also available via [GitHub
6969

7070
### Paste clipboard contents
7171

72-
This is the main mode of PasteIntoFile which allows saving clipboard contents into files.
72+
This is the main mode of Paste Into File which allows saving clipboard contents directly into files.
7373
To use this mode, run the program from the file explorer context menu, with the hotkey `WIN`+`ALT`+`V` (if enabled), from the tray (if enabled), from the start menu or via command line.
7474
If **clipboard patching** is enabled, the regular paste command and `CTRL`+`V` hotkey can also be used.
7575

@@ -99,16 +99,17 @@ using `html` will cause the html-formatted text to be saved,
9999
while using `HTML` will save the plain text.
100100

101101

102-
### Replace with clipboard content
103-
The context menu entry **Replace with clipboard content** allows you to paste clipboard contents into existing files by replacing them.
102+
### Paste into existing files (Append/Replace)
103+
The context menu entry **Paste into this file (Append/Replace)** allows you to paste clipboard contents into existing files by either appending or replacing them.
104104
This works as long as the clipboard contains data compatible with the selected file type.
105-
The old file is moved to the recycle bin and can be restored with the usual undo options of the file explorer.
105+
In the case of replace, the old file is moved to the recycle bin and can be restored with the usual undo options of the file explorer (e.g. `CTRL-Z`).
106106

107107

108108
### Copy file contents
109109

110110
To copy the contents of a file to the clipboard, use the file explorer context menu, the hotkey `WIN`+`ALT`+`C` (if enabled) or the command line option.
111111
Currently, image and text files are supported. If the file format is not understood, an error message will be shown.
112+
For non-text files, the file path is copied as text in addition to the image contents and file.
112113

113114

114115

@@ -117,7 +118,7 @@ Currently, image and text files are supported. If the file format is not underst
117118
Use `help`, `help paste`, `help config` etc. as argument to show available command line options, e.g.:
118119
```
119120
> .\PasteIntoFile.exe help
120-
PasteIntoFile 5.0.0.0
121+
PasteIntoFile 5.3.0.0
121122
Copyright © PasteIntoFile GitHub contributors
122123
123124
config Change configuration (without saving clipboard)
@@ -130,23 +131,24 @@ Copyright © PasteIntoFile GitHub contributors
130131
```
131132
```
132133
> .\PasteIntoFile.exe help paste
133-
PasteIntoFile 5.0.0.0
134+
PasteIntoFile 5.3.0.0
134135
Copyright © PasteIntoFile GitHub contributors
135136
136-
-a, --autosave Autosave file without prompt (true/false)
137-
-c, --clear Clear clipboard after save (true/false)
138-
-d, --directory Path of directory to save file into
139-
-f, --filename Filename template with optional format variables such as
140-
{0:yyyyMMdd HHmmSS} for current date and time
141-
{1:000} for batch-mode save counter
142-
May also contain a file extension and path fragment if
143-
used in paste mode.
144-
--help Display this help screen.
145-
--image-extension Set default file extension for image contents
146-
--overwrite (Default: false) Overwrite existing file without prompt.
147-
Requires --autosave=true.
148-
--text-extension Set default file extension for text contents
149-
--version Display version information.
137+
--append (Default: false) Append to file if it exists (and extension
138+
supports appending).
139+
-a, --autosave Autosave file without prompt (true/false)
140+
-c, --clear Clear clipboard after save (true/false)
141+
-d, --directory Path of directory to save file into
142+
-f, --filename Filename template with optional format variables such as
143+
{0:yyyyMMdd HHmmSS} for current date and time
144+
{1:000} for batch-mode save counter
145+
May also contain a file extension and path fragment if used
146+
in paste mode.
147+
--help Display this help screen.
148+
--overwrite (Default: false) Overwrite existing file without prompt.
149+
Requires --autosave=true. If append is also given, this
150+
only applies in case appending fails.
151+
--version Display version information.
150152
```
151153

152154
**Examples:**

0 commit comments

Comments
 (0)