Command-line method using clipboard to copy multiple images

Page 1 of 2 12 LastLast

  1. Posts : 232
    Win 10 Ver 1903
       #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 Computer


  2. Posts : 9,789
    Mac OS Catalina
       #2

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


  3. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #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 Computers


  4. Posts : 9,789
    Mac OS Catalina
       #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 Computer


  5. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #5

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


  6. Posts : 232
    Win 10 Ver 1903
    Thread Starter
       #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 Computer


  7. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #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 Computers


  8. Posts : 232
    Win 10 Ver 1903
    Thread Starter
       #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 Computer


  9. Posts : 9,789
    Mac OS Catalina
       #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 Computer


  10. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #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 Computers


 

  Related Discussions
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 04:50.
Find Us




Windows 10 Forums