What are Coding Snacks?

Coding Snacks represent the best of DonationCoder.

On a special section of our forum, anyone can post an idea for a small custom utility/program.

Coders who hang out on our forum keep an eye out for interesting requests and when they see one that catches their interest, they code it and release it to the public for free.

People who find the tools useful are encouraged to donate directly to the coders to show their appreciation.

Forum Links:

  • Browse completed coding snacks: here.
  • Browse and submit new requests: here.
Latest Forum Posts

What are Coding Snacks?

Coding snacks are small custom utilities written by coders who hang out on DonationCoder in response to requests posted on our forum.

You are viewing a specific blog item. Click here to return to the main blog page.

Coding Snack: Hotkey copy filename then append it to a URL in clipboard for pasting

blog clipart
A DC member asks:

"First off, I'd be very grateful to anyone who may do this. I've tried to read up some about how to do this using AHK but don't know where to begin.

What it would do: You select a file and press a hotkey (left winkey & C would be nice) it then copies the filename eg: image.jpg to clipboard and prefixes a set url to it.
End result would hopefully be hxxp://examplewebsite.info/image.jpg that you could use the normal ctrl+v to paste into an IM window.
It would be very nice for those who have a little web server off a home computer and send links to friends/family very often. It saves quite a bit of time in the long run. In the past year I've taken over 3,800 screenshots and linked every single one of them by typing out the full url and file name by hand.
Preferably in .ahk rather than .exe so the url can be easily edited."

Click here to see the code solution



Share on Facebook