Windows 10: Command-line method using clipboard to copy multiple images

Page 1 of 2 12 LastLast
  1.    25 May 2016 #1

    Command-line method using clipboard to copy multiple images


    After a lot of searching i have only found two possible tools that might do this. The one that seems rated best is called CopyQ. While it did install and appears to be available, I cannot seem to state to function correctly to get it to copy an image (test.png) to a word document (test.docx) or even paste it to paint .
    Has anyone here seen this or a similar function that would allow the same thing as right click copy on a picture and right click paste it to a document? It seems this should be a native Windows capability but if it is, i am unable to find it.

    I need this to work from command line to be used in a script that performs a number of other functions with other files in the same folders.
      My ComputerSystem Spec


  2. Posts : 4,497
    Mac OS High Sierra 10.13.5
       25 May 2016 #2

    I just click on the top bar and do a Select all and copy.
      My ComputerSystem Spec


  3. Posts : 5,703
    Windows 10 Pro X64 16299.192
       25 May 2016 #3

    I need this to work from command line to be used in a script that performs a number of other functions with other files in the same folders.
    Can you explain this a bit more please? What needs to work from a Command Prompt?

    What exactly do you want to do?

    Can you lay it out step by step?
      My ComputersSystem Spec


  4. Posts : 4,497
    Mac OS High Sierra 10.13.5
       25 May 2016 #4

    Ztrucker I think that they are talking about a Macro, which is not going to work in Office. It would have to be VBS on the backend, which really is not good when all of the features are already built into Office and other programs.

    I am wondering if this so called program that they posted is actually the culprit of their problems.
      My ComputerSystem Spec


  5. Posts : 5,703
    Windows 10 Pro X64 16299.192
       26 May 2016 #5

    Well, Command Prompt has a CLIP command but I still don't understand what is attempting to be done.
      My ComputersSystem Spec

  6.    26 May 2016 #6

    Step by step this is it:
    The script has to be run weekly in order to create an image-index for the websites on an Apache Web-server. The command has to traverse the directory structure to each website under web-root and go to the location containing the invitation.png image file for that site. It then has to copy the invitation.png as an image to a Word Document. Next it has to embed that image with the URL for the website that the invitation belongs to. Then move on to the next website in the web-root folder until all are complete.


    This purpose of this script is to create a working "Directory File" that displays the Invitation Images for every active site on the server in a manner such that clicking any image would open the associated website.


    I agree that there are many ways to do it "one at a time" and that is exactly how it is currently maintained.
    However, there will soon be two additional servers going on line and the weekly changes done one at a time are going to get messy. These sites are for informational purposes and normally don't last more than a couple of weeks before having to be replaced by others.


    This is an attempt to automate the task of making all these changes every week by hand.
      My ComputerSystem Spec


  7. Posts : 5,703
    Windows 10 Pro X64 16299.192
       26 May 2016 #7

    Seems like this would be something you could program Word to do with a macro as bro67 hinted at :) .

    I'm really just guessing though.
      My ComputersSystem Spec

  •    27 May 2016 #8

    not sure Word is best choice. I am 90% there in PHP with an HTML output that i just cannot get the file holding the value of the URL to insert it to the right field. As I mentioned, I know nothing at all abut PHP so by the time i get this working i probably will.
    Shame of it is that I only need to do it one time (for now) all new sites can have this coding inserted as the site is made at which time the URL is easy to grab during the creation. I just need it to get the first 70+ existing sites working in the index.
    But thanks for all pointers. Something will become obvious as the "brain-fog" of failures dissipates. :)
      My ComputerSystem Spec


  • Posts : 4,497
    Mac OS High Sierra 10.13.5
       27 May 2016 #9

    Notepad, Word, etc handles PHP, & HTML, because all that the files are are text. Really do not know why you are blaming the tools, when you are trying to reinvent the wheel.

    I write PHP and HTML in Wordpad and Notepad all of the time and have zero issues. Also use the edit feature in Command and Powershell without the need of any third party utilities.
      My ComputerSystem Spec


  • Posts : 5,703
    Windows 10 Pro X64 16299.192
       28 May 2016 #10

    PHP is the way to go then. You can shell out to run any necessary commands.

    There is a lot of help for PHP coding available on the internet. I have an old PHP and MySQL book that I used initially when putting together my home Web Server but now I just search for stuff as needed.
      My ComputersSystem Spec


  •  
    Page 1 of 2 12 LastLast

    Related Threads
    Hi! In Windows 10 is new app for photos and albums as default picture viewer. In Windows 8.1 I used JPEGView, and sometimes Windows Photo Viewer. Now I'm customizing Windows and I know how to start Photo Viewer from cmd and created context menu...
    Hi all I have several network connections configured. There is one wifi connection which automatically connects to my WLAN, another cable based LAN connection to a NAS which is used for backups and some L2TP connection connections (used...
    For some unknown reason I cannot any more navigate to Update panel from "Einstellungen" - it is blocked. I have to cancel the "Einstellungen" window by the task manager ! So in this moment I cant go forward nor backward any more: cant...
    in win7, after installation and setting the correct file associations, the correct program would start upon double clicking in win10 however, it popups wanting you to set a ?default app?. ive seen this happen for klite codec pack, firefox,...
    As of yesterday, when I press the PrntScr (Print Screen) button on my laptop, it does not copy to the clipboard. So for example, if I PrntScr my desktop and try to paste it in MS Word or MS Paint or anything, it will simply not paste anything, or...
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 05:17.
    Find Us