I have seen a similar tool CLIP
, but it works into clipboard not the other direction.
I have seen references to "paste" but this doesn't appear to be part of Windows. I need to find a solution that works with standard Windows 7, 8 and 10 environments.
Clip
is distributed. Does anybody a tool that works from clipboard to file?
Seems it might be possible to do with a PowerShell command.
This C# program I just wrote does what I would to do with a PowerShell:
class Clip2File
{
[STAThread()]
static void Main(string[] args)
{
var fileName = @"c:\demo.png";
if (args.Length != 0){
fileName = args[0];
}
if (!Clipboard.ContainsImage()) return;
Image img = Clipboard.GetImage();
img?.Save(fileName, ImageFormat.Png);
}
}