Giter Club home page Giter Club logo

pasteintofile's Introduction

📢 New Version Released: Info & Download 🔥


Paste Into File

A Windows desktop application to paste clipboard contents (text and images) into files.

Installation

Installing via Chocolatey

You can use Chocolatey to install Paste Into File. If you don't have Chocolatey, you can install it from the Chocolately Install page. With Chocolatey installed, execute the following command to install Paste Into File:

choco install pasteintofile

Download and Run

  1. Make sure you have .NET Framework 4.5+ installed in your system. (Included in Windows 10)

  2. Download the executable from here and install it.

Usage

  1. Right click in the folder where you want to create the file and choose the Paste Into File entry from the context menu:

    Paste As File

  2. Choose the filename, extenstion and location, then press the Save button:
    Paste As File

Configuration

Run the following commands in a terminal (Command Prompt or PowerShell).

  • To add the Paste Into File entry in the File Explorer context menu:

    PasteIntoFile /reg
  • To remove the Paste Into File entry from the File Explorer context menu:

    PasteIntoFile /unreg
  • To change the default filename format:

    PasteIntoFile /filename yyyyMMdd_HHmmss

    For more information on the format specifiers, see Custom date and time format strings.

pasteintofile's People

Contributors

eslamx7 avatar galich avatar lackovic avatar mjone77 avatar steka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pasteintofile's Issues

Uninstall

Hi - I'm trying to "uninstall" the addon. But command prompt does not recognize the command:

image

Feature Request: Use ctrl key to perform default action

Use the ctrl key to perform the default action automatically without any further user input.

I recommend using ctrl key combination to have PasteIntoFile perform the default action automatically without having to prompt user with a dialog window.

Another option that would be good to have is an action for the shift key select, where when user holds the shift key while selecting "Paste Into File", a folder is appended to the Current Location field. The appended folder can be Text for text files and Image for image.
There can be and option to change the default appended folders via command line, like there is for /filename.

These two options could be made to work together so if user holds both ctrl-shift key while selecting "Paste Into File", it will create the file in the sub-folder automatically without prompting the user.

If needed, I could try to do the implementation myself. I'm a C++ programmer and I've done modifications on a few C-sharp projects before.

Application not found

When I try to right click > run PasteIntoFile it comes up with "Application not found" by Explorer.EXE.

It was working fine before, and I've tried to reinstall it to fix the issue but I'm not sure what I'm doing wrong.

Please help

I have been using this app for years then suddenly it says explorer.exe not found which is kind of ridiculous. Is there a way to fix this?

Copying office drawings objects

I do not know how difficult this is, but would be nice to copy and paste office drawing objects as an image directly.

Can you think about this, please. Otherwise superb app also I upvote the default settings instead of popup and create a short key to popup the settings the next time.

Ritchie

Command line version

This is so useful. I would like to use it from an R programme, which I can do but it would be much simpler if there was a command-line version.

How to change default the file's extension that will be saved?

Hi @EslaMx7, I regularly save images from clipboard, and I like to save them with .Jpg instead of .Png format, because .jpg will have a smaller file size than .png. However, everytime I want to save an image, I have to choose AGAIN .jpg because the default option is always .png. It has always annoyed me a lot.

image

I hope you could make some changes into that software in the next release, so that I could change the default option from png to jpg or another extension.

Thank you so much, your software is really useful. I love it so much.

Best Regards,

Hotkey to save clipboard to file?

Is it possible to make application register some system wide hotkey like Ctrl+Shift+V to run PasteIntoFile so user does not have to right click somewhere to get popup menu and then choose "Paste into file"?

BOM character

I noticed that PasteAsFile inserts the BOM character <U+FEFF> in the beginning of the file which causes errors when I want to read this file with other tools.

More options for extentions

Hi,
Would love if the software supported custom extentions like .ps1, .bat, .py or .sh.
I use it a lot to save commands and scripts, and i hate that i have to manually change the extention afterwards.

Small feature request: initial focus + enter to save

Thanks for this great utility!

Currently, one has to tab to get to the file name text box and then tab to get to save button.

So, would it be possible to have:

  1. Focus in the file name text box when dialog opens with date/time text selected +
  2. Pressing Enter key there to act as Save?

Thanks for your time.

image

Request: "Listen to clipboard" mode

I'm currently trying to save quite a few images from a .pdf. SumatraPDF allows me to copy them into my clipboard, but using the context menu of PasteIntoFile over and over again and clicking the "save" button costs a lot of time.

Is it possible to add a functionality that keeps the program window open, listens to new clipboard content and automatically saves the file to the configured location?

Just keeping the window open, updating the filename so that I just have to hit "save" would also be good enough.

Thank you for this application, it makes things still a lot easier!

Grayed out Save button should offer better feedback

I tried to copy an image out of a Google doc and save to a file, but I could not get the Save button to be not gray:

image

After I started writing this I tried to paste the image into Photoshop which also didn't work, so clearly the issue was with Google Docs not supporting copying pictures like that. That said, I think that if the Save button is grayed out, it should tell me why it's grayed out.

Automatic Installer

Make an automatic installer (Setup) so it auto installs to Program Files folder. Because if maybe you sometimes empty the Downloads folder, you will maybe accidently delete it. And other wise you have to move it yourself to the Program Files folder and you need to make shortcuts yourself. I recommended to use any of the following one's to package an setup:

PasteIntoFile

  • Hi! Sorry for my bad English. I need to "paste to file" not to create a new file, but to remember the one I have already created and automatically add text to the same file in a new line.
    1
    2
    3
    4
    5
    6
    7

Access to clipboard history

For consideration:
On Windows I use frequently the clipboard history (Win+V). I don't know how it can be implemented, but maybe there is a way to use paste from the clipboard history either.

Update: Fork by eltos works with clipboard history well.

File name customization unclear / not working

It is unclear from the README "to change default filename format ("dd-MM-yyyy HH-mm-ss") use for example: /filename yyyy-MM-dd_HHmm" where/how the command can be issued.

I tried running PasteIntoFile.exe /filename yyyy-MM-dd_HHmm from the command line but that did not have any effect.

I tried to change the date format by setting the system register key to yyyy-MM-dd HH-mm-ss but that did not work.

Using pasteintofile v1.4.0 installed via Chocolatey.

Please detail the method of adding and removing Paste into file from right click menu

Thanks for the hard works firstly..
For some reason I want to removed paste into file from my right click menu.. but i just can under stand this.

To remove the Paste Into File entry from the File Explorer context menu:
PasteIntoFile /unreg

My PasteIntoFile.exe is located at D:\Will\pasteIntoFile.exe.. can you please let me know the full command message that i should put into the Powershell to run?.

Exception when pasting at the volume root

Using v1.5

When pasting to the root of a volume (like D:), the Current location is set to D:" (note the leading quotes) and I (obviously) get an exception error.

Feature Proposal: Save on hotkey press

It would be great if we could have a global hotkey that when pressed would open a Windows save dialogue, and we could just save the clipboard images where we like.

Automatically paste without popup window

An option to have it paste immediately as a file, using default settings, and without showing any window would be a nice improvement. Probably 99% of the time this would work fine once the defaults are set appropriately for the user.

Thanks for a cool tool!

Unable to Set Default Format

Hello @EslaMx7 , incredibly useful program, thank you very much for creating it.

Unfortunately I am not able to set the default format. I'm not entirely clear if it really has been implemented yet, however from what I've read of the latest release this should be possible, or have I misunderstood?

In CMD (ran as admin and as normal) I enter PasteIntoFile.exe /filename yyyy-MM-dd_HHmm.jpg and it gives a success prompt, but when then try it out, it presents the filename with an "AD" at the end. E.g.:

"2020-10-11_2256.jpA.D." and still "png" in the format list selected as default.

Please let me know what I should do. Thanks!

Confirm Overwriting of Existing files

When you enter a name for a file that already exists it replaces the file with out prompting you. I would expect a prompt telling you that a file with that name already exists and asking you if you want to overwrite it, keep both, or cancel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.