Please see the references below:
Wednesday, 12 October 2016
Tuesday, 30 August 2016
Monday, 15 August 2016
Friday, 5 August 2016
The following is the answer I posted on StackOverflow.
My solution is for the Windows platform. Many thanks to Assem for giving his solution on which I based mine.
I wrote a C# console app `CbImage2File` that writes the image on the clipboard (if there is one) to a path given as the command line argument. You will need a reference to System.Windows.Forms assembly.
I use Greenshot to take the screenshot, which (via its configuration) automatically copies the screenshot to the clipboard.
I then use a shortcut `C-S-v` to paste the image in the org mode buffer using the function `org-insert-image-from-clipboard`:
This function will work out a file path, then invoke the C# app to create `png` file, then it will add the image tag and then call `org-display-inline-images` to show the image. If there is no image on the clipboard, it will paste in the response from the C# app.
Tuesday, 2 August 2016
This solution using the command line application of 7z.
If you have a folder called `myproject`, then we can create a zip file containing this folder using a bat file in the same folder at `myproject`:
If you wish the contents of `myproject` to be the contents of the zip, then you use `.\myproject\*` instead of `.\myproject\`.